Tuesday, December 11, 2007

How to work with Multiple Forms

How to work with Multiple Forms

To work with Multiple Forms

Step 1:

Add the controls in the form1:

Step 2:

Add the two forms into the project:

Step 3:

Below are the Programming codes for the Command buttons to show Form2 and Form3:

Private Sub Command1_Click()

Form2.Show

End Sub

Private Sub Command2_Click()

Form3.Show

End Sub


No comments: