Results 1 to 3 of 3

Thread: [RESOLVED] Popup form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Location
    Manchester, UK
    Posts
    180

    Resolved [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."

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Location
    Manchester, UK
    Posts
    180

    Re: Popup form

    Thanks for your help


    "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
  •  



Click Here to Expand Forum to Full Width