Difference between revisions of "Checkbox Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|scripting}}
 
{{command|scripting}}
;Checkbox[]
+
;Checkbox[ ]
 
:Creates a [[Action Objects#Checkboxes|checkbox]].
 
:Creates a [[Action Objects#Checkboxes|checkbox]].
 
;Checkbox[ &lt;Caption> ]
 
;Checkbox[ &lt;Caption> ]
Line 7: Line 7:
 
;Checkbox[ <List> ]
 
;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[ &lt;Caption>, <List> ]
 
;Checkbox[ &lt;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 15:16, 27 March 2013



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.
© 2024 International GeoGebra Institute