OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on January 25, 2010, 12:43:42 PM

Title: how to prevent multiple check boxes from being checked
Post by: andrew on January 25, 2010, 12:43:42 PM
i have a form with multiple check boxes
is there a setting to only allow 1 box to be checked at a time?
Title: Re: how to prevent multiple check boxes from being checked
Post by: BazzaCAD on January 25, 2010, 01:24:53 PM
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.