Sep 18, 2003 #1 Brian56 Programmer May 29, 2003 66 CA This must be very simple but I just cant get it. How can I toggle the visiblity of a textbox from one button.?
This must be very simple but I just cant get it. How can I toggle the visiblity of a textbox from one button.?
Sep 18, 2003 #2 harebrain MIS Feb 27, 2003 1,146 US Swear this isn't homework? Assume you have a command button named Command1 and a text box named Text1, use this code for the click event of the button: Code: Private Sub Command1_Click() Text1.Visible = Not (Text1.Visible) End Sub HTH, harebrain Upvote 0 Downvote
Swear this isn't homework? Assume you have a command button named Command1 and a text box named Text1, use this code for the click event of the button: Code: Private Sub Command1_Click() Text1.Visible = Not (Text1.Visible) End Sub HTH, harebrain