Results 1 to 5 of 5

Thread: [RESOLVED] Load or show another form, top on modal form

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2006
    Posts
    272

    Resolved [RESOLVED] Load or show another form, top on modal form

    How to load/unload or show/hide a form above modal form?

    Scenario: Form1 already loaded with modal 1 and want to show or load form2 as topmost window. I have googled and search here no use, please help
    DONT RUN EXECUTABLE FILES FROM UNKNOWN SOURCES.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2006
    Posts
    272

    Re: Load or show another form, top on modal form

    One more thing I need to acces both the forms simultaneously
    DONT RUN EXECUTABLE FILES FROM UNKNOWN SOURCES.

  3. #3
    gibra
    Guest

    Re: Load or show another form, top on modal form

    Then use a NON modal form.

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

    Re: Load or show another form, top on modal form

    Well, as you learned you cannot show a non-modal form from a modal form.

    Here is one way to resolve that
    1. Do not use modal forms as suggested by gibra
    2. When the 1st "modal" form would be shown, show it, not modally, and disable the main form
    3. Now you can show the 3rd form non-modally
    4. When both forms are closed, you must enable the main form otherwise it will remain disabled.
    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}

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2006
    Posts
    272

    Re: Load or show another form, top on modal form

    thanks for your suggestions
    DONT RUN EXECUTABLE FILES FROM UNKNOWN SOURCES.

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