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?
Printable View
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?
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
Hope this helps! ;)Code:Form2.Show
Form1.Hide
Jeba.
That would just hide it though, if you want one specifically minimized, you could do this...
PS: If you use the Form2.Show vbModal, Form1, they wouldn't be able to touch Form1 until Form2 is unloaded.Code:' Minimize Form1 and show Form2
Form1.WindowState = 1 ' Minimized
Form2.Show vbModal, Form1
' To return to OZ...
Unload Form2
Form1.WindowState = 0 ' Normal