|
-
January 12th, 2000, 11:21 AM
#1
Fix the location of MDI Child Form
Hi
I'm using MDI layout, everytime I close a child form, and reopen it, the
location of the child form will be slightly moved to right-down from the original location unless I click the Arrange->Cascade, How can I fix the location of the child form, but not thru setting this code
me.top=0
me.left=0
or
me.arrange vbcascade
-
January 12th, 2000, 11:30 PM
#2
Re: Fix the location of MDI Child Form
Why not set the top and left properties in design time?
Norman Spears
-
September 16th, 2005, 10:01 AM
#3
Re: Fix the location of MDI Child Form
I have a similar problem with child windows (wanting all of them to show at 0,0). The first thing I did was to set their top and left to 0 at design time. No change. I tried manually positioning them in the layout view (I think that's what it's called). No change. Next, as I saw in another post here (sorry, I cannot seem to find it) is to set the top and left of the child to 0 in each of the childs load or activate events (but that won't be until I get home in a few hours).
UPDATE: yup, set the top and left of the child in its load event
Last edited by slbarret; September 17th, 2005 at 04:50 PM.
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
|