How do I center a MDI child form within the parent MDI form, I have tried setting the StartUpPosition property but I get an error when trying to set this property.
Thanks for any help,
Chris
Printable View
How do I center a MDI child form within the parent MDI form, I have tried setting the StartUpPosition property but I get an error when trying to set this property.
Thanks for any help,
Chris
in your load() function of the MDI child put this: (assuming your mdi form is called mdiform1)
me.left = mdiform1.width/2
me.top = mdiform1.height/2
set the startuppos to manual