Solved

Open form in the center of the parent form

Posted on 2011-09-16
3
379 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anyway to make "All" the default in the dropdown? 6 34
how to read json value 2 30
Entity Framework 7 31
Help with LINQ and XML 10 26
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
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…

911 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

25 Experts available now in Live!

Get 1:1 Help Now