how to prevent multiple check boxes from being checked

Started by andrew, January 25, 2010, 12:43:42 PM

Previous topic - Next topic

andrew

i have a form with multiple check boxes
is there a setting to only allow 1 box to be checked at a time?

BazzaCAD

I would use the "Enabled" property & set the others to nil, when one was checked.
Code (autolisp) Select

(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.
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom