OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: roy_043 on October 24, 2011, 03:16:30 AM

Title: Changing checkboxes using space bar doesn't work properly?
Post by: roy_043 on October 24, 2011, 03:16:30 AM
Bricscad 12.1.2
OpenDCL  7.0.0.1 (also in 6.0.2.5)
Win XP

In a 'normal' Windows dialog you can change the value of a checkbox by using the space bar. In a OpenDCL dialog this doesn't seem to work properly:
1. Use the TAB key to set the focus on a checkbox.
2. Press the SPACE bar: the value changes and background turns grey (?).
3. Use TAB again: the checkbox reverts to its original value.

This does work:
1. See above.
2. See above.
3. Press the SHIFT key.
4. Use TAB again.

Is this a bug or am I missing some sort of setting?
Title: Re: Changing checkboxes using space bar doesn't work properly?
Post by: owenwengerd on October 24, 2011, 02:37:39 PM
Can you upload a simple example?
Title: Re: Changing checkboxes using space bar doesn't work properly?
Post by: roy_043 on October 25, 2011, 03:02:59 AM
See attached zip file.
Title: Re: Changing checkboxes using space bar doesn't work properly?
Post by: owenwengerd on October 25, 2011, 10:18:15 AM
Thanks, that is a bug. It looks like the problem is due to some leftover code that was designed to handle the space bar because the control was ignoring it; but as best I can tell, the control is now handling the space bar just fine on its own. I've removed the leftover code for the next build.