OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on January 15, 2010, 12:19:47 PM

Title: how do you clear a check box
Post by: andrew on January 15, 2010, 12:19:47 PM
in my modeless form (that i have staying open) i have a button that opens a modal form, in that modal form i have a check box that
if checked will stay checked everytime the form is opened.

is there a way to clear that checkbox (if its checked) every time the form opens?

i hope this is understandable

thanks
Title: Re: how do you clear a check box
Post by: BazzaCAD on January 15, 2010, 12:33:28 PM
put this in your OnInitialize event for that form...

Code (autolisp) Select
(dcl_Control_SetValue Untitled_Form1_CheckBox1 0)
Title: Re: how do you clear a check box
Post by: andrew on January 15, 2010, 12:35:26 PM
ahh set value

thanks Barry