Difference between revisions of "Checkbox Command"
From GeoGebra Manual
Line 6: | Line 6: | ||
:Creates a checkbox with given [[Labels and Captions|caption]]. | :Creates a checkbox with given [[Labels and Captions|caption]]. | ||
;Checkbox[ <List> ] | ;Checkbox[ <List> ] | ||
− | :Creates a | + | :Creates a checkbox which, when unchecked, hides listed objects. |
+ | {{Example|Let ''A'' and ''B'' be points. <code>c=Checkbox[{A,B}]</code> creates checkbox ''c''. When ''c'' is checked, ''A'' and ''B'' are visible, otherwise they are hidden.}} | ||
;Checkbox[ <Caption>, <List> ] | ;Checkbox[ <Caption>, <List> ] | ||
:Creates checkbox with given caption which, when unchecked, hides listed objects. | :Creates checkbox with given caption which, when unchecked, hides listed objects. |
Revision as of 14:10, 6 June 2011
- Checkbox[]
- Creates a checkbox.
- Checkbox[ <Caption> ]
- Creates a checkbox with given caption.
- Checkbox[ <List> ]
- Creates a checkbox which, when unchecked, hides listed objects.
Example: Let A and B be points.
c=Checkbox[{A,B}]
creates checkbox c. When c is checked, A and B are visible, otherwise they are hidden.- Checkbox[ , <List> ]
- Creates checkbox with given caption which, when unchecked, hides listed objects.