all groups > vb.net controls > july 2004 >
You're in the

vb.net controls

group:

radio buttons question


Re: radio buttons question hirf-spam-me-here NO[at]SPAM gmx.at
7/18/2004 6:33:48 PM
vb.net controls:
* "Sameh Ahmed" <essoplus@hotmail.com> scripsit:
[quoted text, click to view]

Have a look at the control's 'AutoCheck' property.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
radio buttons question Sameh Ahmed
7/18/2004 6:53:41 PM
Hello there
I have 2 radio buttons on the same control.
I need to make a check (using a message box with yesno buttons) before the
checked state is reversed.
I tried a checkchanged event and an if statement with the input of the
msgbox to see if the user has chosen yes so it will do nothing or he choose
no so I changed the state of the radio button to it's initial value, but
eventually this leads to a loop, as the checkhanged event is triggered
again.
any ideas?
in simple words, I need to maintain same radio buttons state if the user
presses yes in the msgbox and to switch them if he presses yes.
thanks in advance for you time
Regards
Sameh


AddThis Social Bookmark Button