Make your own free website on Tripod.com

Disable All Forms Till The Form Will Be Closed

'Add another Form to your project. Add 1 Command Button to Form1.
'When you will load Form2, Form1 will not be able to get focus, until Form2 will be closed.
'Insert the following code to your form (Form1):

Private Sub Command1_Click()
Form2.Show vbModal
End Sub

Go Back