-
I have a form with a text field and a button. I don't want the text field to be visible all the time, so what I want to do is when the user clicks the button have the text field become visible and have the button continue to look like it is depressed as long as the text field is visible and then when the user clicks the button again, the text field disappears and the button goes back to normal. Any idea how to do that?
------------------
Ryan
-
Use a Check Box, and set Style to 1-Graphical
Private Sub Check1_Click()
If Check1.Value Then
Text1.Visible = False
Text2.Visible = False
Else
Text1.Visible = True
Text2.Visible = True
End If
End Sub
Joon
-
Thanks a lot!
------------------
Ryan