Re: Group box and radio button


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by webmaster Guido on May 31, 2002 at 16:12:56:

In Reply to: Group box and radio button posted by BeckyR on May 29, 2002 at 22:34:20:

: If I have a group box and a radio button in the group box, how can I get the radio button to flip from checked to unchecked and vice versa? When the program runs and the the item is not selected, I click on it to select, but I want to be able to deselect it as well. Help please.
------

Radiobuttons are meant to be used to switch between several options. If you select one radiobutton, all the others of the same group are switched off.
Therefore it doesn't make much sense to use only one radiobutton in a group. If you simply want to switch one option on/off, better use a checkbox (also for independently swiching several options on/off).



Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]