roi santos
Board Regular
- Joined
- Oct 3, 2008
- Messages
- 57
Hi all!
I have a form that show certain frames when a command bottom is clicked.But I havent find a way of making the frame disapear if the command bottom is clicked again. My code is shown below
Private Sub CommandButton1_Click()
Frame1.Visible = True
End Sub
Private Sub CommandButton2_Click()
Frame2.Visible = True
End Sub
Private Sub CommandButton3_Click()
Frame3.Visible = True
End Sub
Private Sub CommandButton4_Click()
Frame4.Visible = True
End Sub
Private Sub CommandButton5_Click()
Frame5.Visible = True
End Sub
Private Sub CommandButton6_Click()
Frame6.Visible = True
End Sub
Private Sub CommandButton7_Click()
Frame7.Visible = True
End Sub
Can somebody help with this?
I have a form that show certain frames when a command bottom is clicked.But I havent find a way of making the frame disapear if the command bottom is clicked again. My code is shown below
Private Sub CommandButton1_Click()
Frame1.Visible = True
End Sub
Private Sub CommandButton2_Click()
Frame2.Visible = True
End Sub
Private Sub CommandButton3_Click()
Frame3.Visible = True
End Sub
Private Sub CommandButton4_Click()
Frame4.Visible = True
End Sub
Private Sub CommandButton5_Click()
Frame5.Visible = True
End Sub
Private Sub CommandButton6_Click()
Frame6.Visible = True
End Sub
Private Sub CommandButton7_Click()
Frame7.Visible = True
End Sub
Can somebody help with this?