I have three option with three test boxes next to them.
What I would like is that when one of the options is selected the text bax next to it is enabled and the text boxes next to the other options are diabled.
Make an array of the options and corresponding textboxes. In the option's click event place the following code:
Private Sub Option1_Click(Index as Integer)
dim i as integer
for i = 0 to 2 'number of textboxes and options
Text1(i).Enabled = Option1(i).Value
next
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.