Checkbox
Checkbox [x]
represents a checkbox with setting x, displayed as when x is True and when x is False .
takes the setting to be the dynamically updated current value of x, with the value of x being toggled if the checkbox is clicked.
Checkbox [x,{val1,val2}]
represents a checkbox that toggles between values val1 and val2 and displays as and , respectively.
Checkbox [x,{val1,val2,val3,…}]
represents a checkbox that cycles through values vali and displays as for all vali with i>2.
Details and Options
Examples
open allclose allBasic Examples (2)
The default states for Checkbox :
Using different values for states:
Scope (3)
Options (8)
Appearance (2)
Control the appearance of the checkbox:
Dynamically changing appearance:
AutoAction (2)
By default, the checkbox does not change state until it is clicked:
By setting AutoAction , the checkbox changes state when the mouse moves over it:
Values will change as the cursor is moved over the clickable area:
BaselinePosition (1)
Align with surrounding text:
Enabled (2)
ImageMargins (1)
Change the margins around the image:
Applications (4)
See Also
Toggler Opener Setter Panel RadioButton Control CheckboxBar
Function Repository: CheckboxLegended OnOffToggle
Tech Notes
Related Workflows
- Build a Manipulate
History
Text
Wolfram Research (2007), Checkbox, Wolfram Language function, https://reference.wolfram.com/language/ref/Checkbox.html.
CMS
Wolfram Language. 2007. "Checkbox." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Checkbox.html.
APA
Wolfram Language. (2007). Checkbox. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Checkbox.html
BibTeX
@misc{reference.wolfram_2025_checkbox, author="Wolfram Research", title="{Checkbox}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Checkbox.html}", note=[Accessed: 10-April-2025 ]}
BibLaTeX
@online{reference.wolfram_2025_checkbox, organization={Wolfram Research}, title={Checkbox}, year={2007}, url={https://reference.wolfram.com/language/ref/Checkbox.html}, note=[Accessed: 10-April-2025 ]}