Visible property for text box in code

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top