|
-
Mar 28th, 2007, 11:41 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Set Window location of MDI Child in MDI Form
How can i set the default loading location of an MDIChild form inside an MDI form? i would like my MDIChild forms to default to the center of the MDI but i cant achieve this, it seems i can only get it to load in the top left hand corner. any ideas?
Cheers
-
Mar 29th, 2007, 12:10 AM
#2
Re: Set Window location of MDI Child in MDI Form
Never worked with MDI forms, however don't they have a .Top and .Left property like all other controls. If the MDIChild allways show at the top-left corner both properties should have a value of 0. When you create the Child's set these properties to your desired value, that should do it.
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Mar 29th, 2007, 12:49 AM
#3
Thread Starter
Hyperactive Member
Re: Set Window location of MDI Child in MDI Form
no worries ill give it a try.
-
Mar 29th, 2007, 12:54 AM
#4
Thread Starter
Hyperactive Member
Re: Set Window location of MDI Child in MDI Form
yup it works if you set the parameters in Form_Load() code but not in the properties box.
cheers this is resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|