Difference between revisions of "SelectedIndex Command"

From GeoGebra Manual
Jump to: navigation, search
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|list}}
{{command|list}}
+
;SelectedIndex( &lt;List> )
;SelectedIndex[ <List> ]
+
:Returns the index of the selected element of a [[Action Objects#Drop-down lists|drop-down list]].
:Returns the index of selected element of a Visible List (i.e. [[Action Objects#Comboboxes|Combobox]]).
+
 
:{{note|Currently Comboxes are only available in the [[Spreadsheet View]] (when the ''Use Buttons and Checkboxes'' option is enabled).}}
+
{{Note|1= See also [[SelectedElement Command |SelectedElement]] command}}
 +
 
 +
 
 +
 
 +
{{Note|1=;SetValue( <[[Action_Objects#Drop-down lists|drop-down list]]>, <Number n > ) : Set  ''n'' as [[SelectedIndex_Command| the index of the selected element]] in the drop-down list.}}

Latest revision as of 11:23, 10 October 2017

© 2024 International GeoGebra Institute