OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Jim Short on August 12, 2009, 07:16:57 AM

Title: 4 Radio Buttons
Post by: Jim Short on August 12, 2009, 07:16:57 AM
I have four radio buttons that behave properly when checked by clicking. How do I problematically click a button and get the same behavior? Using (dcl_Control_SetValue Onset_Outline_opTabStockTopLeft 1) leaves other button checked.

Thanks
Jim
Title: Re: 4 Radio Buttons
Post by: owenwengerd on August 12, 2009, 07:37:36 PM
If you change an option button value to 1 programmatically, you have to also set the value(s) for the associated buttons to 0 programmatically. I could add some code to do that automatically when setting one of them to 1, but Windows does not do that on its own unless you click on one of them.
Title: Re: 4 Radio Buttons
Post by: Jim Short on August 18, 2009, 07:12:52 PM
Owen,
Thanks, and I did handle it the way you described.
Jim