how to prevent multiple check boxes from being checked

Started by andrew · 2010-01-25 20:43 UTC · 1 replies · SMF topic #1150

i have a form with multiple check boxes
is there a setting to only allow 1 box to be checked at a time?
I would use the "Enabled" property & set the others to nil, when one was checked.

(dcl_Control_SetEnabled Untitled_Form1_CheckBox1 nil)

But if that's the case then it sounds like OptionButtons or an OptionList would be more appropriate.