Multiple forms open

Each form that is opened becomes its own window.  If you click outside the form (or window), it brings up the form that was behind it.  I want to force the user to click OK or Cancel on the top form and not be able access any other forms (or windows) until then.
Any suggestions?
DEFNICAsked:
Who is Participating?
 
mcriderConnect With a Mentor Commented:
View the form modally


Form1.show 1


Cheers!
0
 
Bob LearnedCommented:
Or for readability:  Form1.Show vbModal
0
 
mcriderCommented:
Same difference...  VbModal is equal to 1

Cheers!
0
 
Bob LearnedCommented:
Yes, I realize they are the same, but a lot of people don't realize that there are enumerations that help a lot to make code more readible.  I try to use these constants wherever possible.
0
 
mcriderCommented:
Thanks for the points!


Cheers!
0
All Courses

From novice to tech pro — start learning today.