I'm looking for a way to uncheck the selected check box/radio button/toggle button using the keyboard in Windows 7, preferably in XP and Vista as well. I know you can use the Space bar to toggle the state of the currently selected button, but is there a way to set a control to ticked or unticked without risk of toggling it if is is already in the desired state?
Use the Tab key or the mouse to select the check box and then press space bar key
There is no way to control this for sure.
There are underlying controls that have default behaviors in Windows forms. Factors such as if these controls are a part of a control group will also have an affect on the outcome.
Also, there is no way to know how a developer handles certain events based on control selection and changes.
protected by Community♦ Aug 13 at 17:41
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?