|
-
Jan 13th, 2000, 07:05 AM
#1
Thread Starter
Hyperactive Member
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
-
Jan 13th, 2000, 07:32 AM
#2
Member
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
-
Jan 13th, 2000, 08:06 AM
#3
Thread Starter
Hyperactive Member
Thanks a lot!
------------------
Ryan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|