GreenKawasaki
Newcomer
- Joined
- Dec 23, 2003
- Messages
- 6
Hello,
How do I setup my forms so I can use that 'CenterParent' option for forms? I have a mainform and a bunch of smaller forms that I want to popup in the middle of the main form no matter where it is on the screen.
Any help is greatly appreciated! I currently have my mainform's IsMDIContainer set to true.
Unfortunately, this doesnt work.
Best regards,
VB Newbie
How do I setup my forms so I can use that 'CenterParent' option for forms? I have a mainform and a bunch of smaller forms that I want to popup in the middle of the main form no matter where it is on the screen.
Any help is greatly appreciated! I currently have my mainform's IsMDIContainer set to true.
Visual Basic:
Dim MyForm As New SmallForm()
MyForm.StartPosition = FormStartPosition.CenterParent
MyForm.ShowDialog()
Unfortunately, this doesnt work.
Best regards,
VB Newbie
Last edited: