|
-
Feb 15th, 2001, 12:32 PM
#1
Thread Starter
New Member
I would like to move a pop-up form to various locations in reference to the locations of controls (frames) on the main form underneath. I thought I could simply code: frmPopUp.Left = frmMain.Left + frmMain.Frame1.left
to align the left edge of my pop-up with the left edge of the frame on the main form measuring from the left of the screen (since frmMain.Left is the distance from the left edge of the screen and frmMain.Frame1.Left is the additional distance from there to the left edge of the frame, the total being the distance from the left edge of the screen to the left edge of the frame)
Anyway, it doesn't work.
Thanks in advance for the help.
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
|