[Gambas-user] How to clear radio buttons - not working

Benoit Minisini gambas at ...1...
Sun Mar 16 22:00:33 CET 2008


On dimanche 16 mars 2008, richard terry wrote:
> I've a couple of radio button's on my form, and I would have thought that
> this code: rb1.value = false rb2. value = false, would have removed the
> black dot from the radio button, but not so.
>
> Any clues?
>
> Thanks
>
> Richard
>

You can't clear a radio button, because one radio button must always be set 
among all its siblings. 

If you don't like, use checkboxes, not radio buttons!

Regards,

-- 
Benoit Minisini




More information about the User mailing list