[Gambas-user] How can I create radio (mutually exclusive) menu?

Kadaitcha Man nospam.nospam.nospam at ...626...
Sun Nov 29 21:37:13 CET 2009


2009/11/29 nando <nando_f at ...951...>:

> Radio Buttons only make sense when you use more than ONE.
> Placing them on a PANEL container makes them a 'family' and
> are grouped together so that only one can be selected TRUE.
> If you don't want to see the panel border, you can have no border.
> If you use only ONE Radio Button, it will always be TRUE because there
> are no other radio buttons to select true thus making the first false.
> If you want to have a ON/OFF type of Radio Button, then use the CHECKBOX
> or TOGGLE Button.  The Radio Button is not a correct use for such a case.

Take a look at the calculator View menu like he suggested.




More information about the User mailing list