Results 1 to 3 of 3

Thread: form this!

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    Is there some simple way to minimize the form window, and open up another form, and not allow the first form to be clicked...whats the easiest and shortest way to make a form hide?

  2. #2
    Hyperactive Member jeba's Avatar
    Join Date
    Feb 2000
    Posts
    265

    Wink

    Hi Sacofjoea!
    Why do you want to minimize the form? Is it necessory?

    Say u have 2 forms, Form1 and Form2. If u want to show the Form2 and hide the Form1, Use
    Code:
          Form2.Show
          Form1.Hide
    Hope this helps!
    Jeba.
    J£ßä

  3. #3
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155
    That would just hide it though, if you want one specifically minimized, you could do this...
    Code:
    ' Minimize Form1 and show Form2
    Form1.WindowState = 1  ' Minimized
    Form2.Show vbModal, Form1
    ' To return to OZ...
    Unload Form2
    Form1.WindowState = 0  ' Normal
    PS: If you use the Form2.Show vbModal, Form1, they wouldn't be able to touch Form1 until Form2 is unloaded.

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