dcsimg
Results 1 to 5 of 5

Thread: [RESOLVED] How to make the form stay on top

  1. #1

    Thread Starter
    Lively Member creek16's Avatar
    Join Date
    Mar 2009
    Posts
    107

    Resolved [RESOLVED] How to make the form stay on top

    Hi guys. I'm using vb6.0 anyone knows the syntax for making the form always on top? Thank You!
    Discovery consists in seeing what everybody else has seen and thinking what nobody else has thought.
    - Albert Szent-Gy-rgi

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

    Re: How to make the form stay on top

    Probably one of the most asked questions. Search forum for: Always On Top
    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
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Melbourne, Australia
    Posts
    362

    Re: How to make the form stay on top

    you can use from.show vbmodal

  4. #4
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,135

    Re: How to make the form stay on top

    vbModal prevents accessing to other windows within your own app (some other restrictions may apply).
    Instead there is a windows api function SetParent that makes window of your choice the topmost without restricting access to other forms.

  5. #5

    Thread Starter
    Lively Member creek16's Avatar
    Join Date
    Mar 2009
    Posts
    107

    Re: How to make the form stay on top

    Got it! thanks guys
    Discovery consists in seeing what everybody else has seen and thinking what nobody else has thought.
    - Albert Szent-Gy-rgi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width