|
-
Sep 2nd, 2010, 10:30 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Popup form
I have a popup form in a project which pops up at the bottom right of the desktop as is the norm. I was wondering if a popup can be made to appear from the bottom right of the form that is calling it?
"And then one day you find, ten years have got behind you.
No one told you when to run, you missed the starting gun."
-
Sep 2nd, 2010, 10:36 AM
#2
Re: Popup form
Yes, use a loop/timer and the form's .Move method to manipulate it's Left, Top & Height properties in relation to the main form's bottom edge position on the screen (Form1.Top + Form1.Height). Before entering the loop, you should Load, not Show, your popup, adjust its size/position 1st time, then show it. Your loop/timer would then incrementally change its Height & Top values until it is fully visible. Obviously, you'd need to know the final display height beforehand.
Last edited by LaVolpe; Sep 2nd, 2010 at 10:53 AM.
Reason: typos
-
Sep 3rd, 2010, 07:34 AM
#3
Thread Starter
Addicted Member
"And then one day you find, ten years have got behind you.
No one told you when to run, you missed the starting gun."
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
|