Changing checkboxes using space bar doesn't work properly?

Started by roy_043 · 2011-10-24 10:16 UTC · 3 replies · SMF topic #1711

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?
Can you upload a simple example?
See attached zip file.
Attachments
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.