Results 1 to 2 of 2

Thread: Form always on top, but not on top of everything!

  1. #1

    Thread Starter
    Member FrogBoy666's Avatar
    Join Date
    Aug 2000
    Location
    Columbia, SC
    Posts
    34

    Unhappy

    Ok... I have a project with two forms. There's the main form, and a "Find" form. I want to make the "Find" form stay on top of the Main form while it's opened. I tried frmFind.Show vbModal, but I can't access the main form while that one is up... I also tried to use SetWindowPos, but that puts it on top of EVERYTHING, and I just want it on top of the main form.

    For an example of what I'm talking about, open something in Notepad, and search for some text. I want it to work like that... Where I can edit what's in the main form while the find form is still on top.

    Thanks in advance for your help!

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986

    This will work!

    Code:
    Form2.Show , Form1
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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