Solved

Open form in the center of the parent form

Posted on 2011-09-16
3
385 Views
Last Modified: 2013-11-27
Hey.

Can anyone suggest a code that opens a form centered to the parent form from where it was originally ran from?
0
Comment
Question by:Here2Help
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Dennis Aries earned 125 total points
ID: 36549611
Use the property 'Startposition' of the form. Set it to 'CenterParent'
0
 
LVL 8

Author Comment

by:Here2Help
ID: 36549790
Wow, how did I miss that lol.
cheers
0
 
LVL 18

Expert Comment

by:Dennis Aries
ID: 36549839
It has been in VB-forms since VB5.0 :) Beforere that, we used to have standard code to position a form in the form_load-event. Things have become a lot easier since then. ;)

Have fun coding.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question