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?
Printable View
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?
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.
Thanks for your help