3
Contributors
7
Replies
8
Views
8 Years
Discussion Span
Last Post by abu taher
0

but when I click another option button then the textbox.enable not false

0

Option buttons = either one or the other NOT both. CheckBoxes = one, both, none.


Use the right control for the right application.

Good Luck

0

write this code in option1 click event (caption this option button as "Enable")

text1.enable=true


write this code in option2 click event (caption this option button as "Disable")

text1.enable=false

also set the default value for text1.enable at design time or in form load event

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.