Checkbox

Checkbox
Sample checkboxes.

In computing, a checkbox (check box, tickbox, or tick box) is a graphical user interface element (widget) that permits the user to make multiple selections from a number of options (contrary to a radio button where only one choice is possible) or to have the user answer yes (checked) or no (not checked) on a simple yes/no question.

Normally, checkboxes are shown on the screen as a square box that can contain white space (for false) or a tick mark or X (for true), as pictured. A caption describing the meaning of the checkbox is normally shown adjacent to the checkbox. Inverting the state of a checkbox is done by clicking the mouse on the box, or the caption, or by using a keyboard shortcut, such as the space bar.

Contents

Tri-state checkbox

Some applications use checkboxes that allow an indeterminate state in addition to the two provided by a normal checkbox. This third state is shown as a square or dash in the checkbox, and indicates that its state is neither checked nor unchecked. This is most often used when the checkbox is tied to a collection of items in mixed states. The indeterminate state cannot usually be selected by the user, and switches to a checked state when activated.

For example, a checkbox presented to select files to send via FTP might use a tree view so that files can be selected one at a time, or by folder. If only some of the files in a folder are selected, then the checkbox for that folder would be indeterminate. Clicking on this indeterminate checkbox would select all or, less commonly, none of the contained files. Continuing to click on the checkbox would alternate between checked (all sub-directories and files selected) and unchecked (no sub-directories or files selected).

Some tri-state checkbox implementations allow the user to toggle among all states, including the indeterminate state, by remembering the mixed state of the items in the collection. This serves as an undo feature.

Not actionable

Setting or clearing a checkbox changes the checkbox's state with no other side-effects. Violating this guideline by associating additional actions with the change of state frequently confuses users, because they are used to configuring data in entry controls such as text boxes, radio buttons, and checkboxes and then invoking an action control such as a push button to initiate the action to process the data.[1][2]

One common exception is to enable or display additional user input elements that are only relevant if the checkbox is either checked or unchecked.

HTML

In web forms, the HTML element <input type="checkbox"> is used to display a checkbox.

XAML

In XAML a checkbox is declared as:

<CheckBox Name="cbname">Label</CheckBox>

Unicode

In Unicode, empty and filled checkboxes are represented by code points U+2610 (, 'BALLOT BOX'), U+2611 (, 'BALLOT BOX WITH CHECK'), and U+2612 (, 'BALLOT BOX WITH X').

See also


References

  1. ^ "Check Boxes", "msdn", Retrieved 2010-02-05
  2. ^ Nielsen, Jakob, "Checkboxes vs. Radio Buttons", "Jakob Nielsen's Alertbox",Sept. 2004. Retrieved 2010-02-05

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • checkbox — check‧box [ˈtʆekbɒks ǁ bɑːks] noun [countable] COMPUTING a small box on a computer screen that you click on with a mouse to open or close file, program etc; = tick box Bre * * * checkbox UK US /ˈtʃekbɒks/ noun [C] US (UK tick box) ► …   Financial and business terms

  • checkbox — UK [ˈtʃekˌbɒks] US [ˈtʃekˌbɑks] noun [countable] [singular checkbox plural checkboxes] computing a small square on a computer screen that you click on with your …   Useful english dictionary

  • Checkbox — Eine Checkbox (engl. für Auswahlkasten, Kontrollkästchen) ist ein Standardbedienelement grafischer Benutzeroberflächen. Mit einer Checkbox werden häufig Ja/Nein Fragen (Optionen) beantwortet und es ist üblich, die Auswahlbedingung nicht als Frage …   Deutsch Wikipedia

  • checkbox — UK [ˈtʃekˌbɒks] / US [ˈtʃekˌbɑks] noun [countable] Word forms checkbox : singular checkbox plural checkboxes computing a small square on a computer screen that you click on with your mouse to choose a feature …   English dictionary

  • Checkbox — Kontrollkästchen; Kontrollfeld; Auswahlschalter; Markierungsfeld * * * Checkbox   [dt. »Kontrollkästchen«], Dialogbox …   Universal-Lexikon

  • Checkbox compliance — A product (typically a piece of software) that is checkbox compliant incorporates most (or all) of the fashionable features listed in reviews in computer magazines.[citation needed] See also Buzzword Categories: Computing terminologySoftware… …   Wikipedia

  • Checkbox — Case à cocher Exemple montrant deux cases ayant été cochées. En informatique, une case à cocher (abrégé couramment en case ; check box en anglais) est un composant des interfaces graphiques permettant à l utilisateur d indiquer des choix.… …   Wikipédia en Français

  • checkbox — noun a) A place on a form that can be checked or not. b) A feature on a webpage that can be marked or not to indicate whether it is selected …   Wiktionary

  • checkbox — check|box [ tʃek,baks ] noun count a small square on a computer screen that you CLICK on with your MOUSE to choose a feature …   Usage of the words and phrases in modern English

  • checkbox — noun Computing a small area on a computer screen which, when selected by the user, shows that a particular feature has been enabled …   English new terms dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”