Visible property for text box in code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a slide that has two textboxes on slide2: txtOneA and txtOneB. What I
want to do is when the command button from slide1 is clicked, the two
textbox's would not be visible. They would become visible when the cmdAnsOne
button is clicked on slide 2. It doesn't seem to work in slide show view. Can
someone tell me why? Below is the code I have for slide2.

Private Sub intitalize()
Me.txtOneA.Visible = False
Me.txtOneB.Visible = False
End Sub

Private Sub ansOneCorrect_Click()
txtOneA.Visible = True
txtOneB.Visible = True
txtOneB.Text = "Tom"
End Sub

Thank you.
 
Back
Top