Navigation:  Appendices > Windows Refresher > Common Controls >


Previous pageReturn to chapter overviewNext page

The CheckBox is used to denote a condition which is either true (checked) or false (unchecked). The examples below show it in both the older 3D style, or in the newer flat style. The difference is only visual, both images are functionaly the same.



In some less frequent cases, there is a 3rd state grayed (see the Plain and Bold examples above) which can have different meanings depending on the context.


A CheckBox which is in the grayed state, while looking for something, means to disregard the associated criterium. So in the above example, the search would look for not italic, word underlined, but would ignore the bold attribute in the search.


A CheckBox which is in the grayed state, while acting on some attributes would leave that attribute alone. So for example, if the above example represented the attributes to apply to some selected text, then it would mean that italic should be removed from the selected text, and word underline added to it. The parts of the selected text which were bold would remain so, and so would those parts which are not.


Some tips :


You do not need to click exactly in the little box. Clicking anywhere on the associated label is OK.


Once a CheckBox has the focus (as denoted by a dotted frame), you can toggle between different states by pressing the spacebar key.


See also : RadioGroup.

Topic 108321 updated on 06-Jan-2003.
Topic URL: