Well. it's pretty clear that the answer can only be yes or no in this case, so use a RadioButtonGroup for the two RadioButtons.
-TH --- In [email protected], "jossminker" <jossmin...@...> wrote: > > Can you clarify? Do you mean you ahve two radio buttons one for no and one > for yes? > In which case the mode of operation the user would expect is to deselect YES > by selecting NO instead. > If it is a button which if selected denotes yes and if not selected denotes > No then you should be using checkboxes instead. > > However, if you wish it to be possible for the user to deselect Yes and thus > leave neither control selected you can either- change your interface to use a > 3rd option NEITHER or you use the YES buttons click event handler to switch > teh buttons selected property. > > This will however, leave the user with IMO a potentially confusing interface. > > hth > joss > > --- In [email protected], "Christophe" <christophe_jacquelin@> wrote: > > > > Hello, > > > > I have two radio buttons: Yes and No. > > > > At the beginning they are unchecked. Then I press on Yes to select Yes. > > > > How to desactivate Yes, if we click a second successive time on Yes. > > > > Thank you, > > Christophe, > > >

