Difference between revisions of "Checkbox Command"
From GeoGebra Manual
Noel Lambert (talk | contribs) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | ||
− | ;Checkbox | + | ;Checkbox( ) |
:Creates a [[Action Objects#Checkboxes|checkbox]]. | :Creates a [[Action Objects#Checkboxes|checkbox]]. | ||
− | ;Checkbox | + | ;Checkbox( <Caption> ) |
:Creates a checkbox with given [[Labels and Captions|caption]]. | :Creates a checkbox with given [[Labels and Captions|caption]]. | ||
− | ;Checkbox | + | ;Checkbox( <List> ) |
:Creates a checkbox which, when unchecked, hides listed objects. | :Creates a checkbox which, when unchecked, hides listed objects. | ||
:{{Example|1=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.}} | :{{Example|1=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 | + | ;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 17:16, 7 October 2017
- 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( <Caption>, <List> )
- Creates checkbox with given caption which, when unchecked, hides listed objects.