Solved

Open form in the center of the parent form

Posted on 2011-09-16
3
377 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
Comment Utility
Use the property 'Startposition' of the form. Set it to 'CenterParent'
0
 
LVL 8

Author Comment

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

Expert Comment

by:Dennis Aries
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now