Difference between revisions of "Checkbox Command"

From GeoGebra Manual
Jump to: navigation, search
(Autogenerated from properties)
(command syntax: changed [ ] into ( ))
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
;Checkbox( )
{{command|scripting}}
+
:Creates a [[Action Objects#Checkboxes|checkbox]].
;Checkbox[]
+
;Checkbox( &lt;Caption> )
:{{description}}
+
:Creates a checkbox with given [[Labels and Captions|caption]].
;Checkbox[ <Caption> ]
+
;Checkbox( &lt;List> )
:{{description}}
+
:Creates a checkbox which, when unchecked, hides listed objects.
;Checkbox[ <List> ]
+
:{{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.}}  
:{{description}}
+
;Checkbox( &lt;Caption>, &lt;List> )
;Checkbox[ <Caption>, <List> ]
+
:Creates checkbox with given caption which, when unchecked, hides listed objects.
:{{description}}
 

Latest revision as of 08:53, 12 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.
© 2024 International GeoGebra Institute