Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 427
  • Last Modified:

Open form in the center of the parent form


Can anyone suggest a code that opens a form centered to the parent form from where it was originally ran from?
  • 2
1 Solution
Dennis AriesCEO @ Arkro ITCommented:
Use the property 'Startposition' of the form. Set it to 'CenterParent'
Here2HelpAuthor Commented:
Wow, how did I miss that lol.
Dennis AriesCEO @ Arkro ITCommented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now