Difference between revisions of "SelectedIndex Command"
From GeoGebra Manual
Noel Lambert (talk | contribs) |
|||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|list}} |
− | {{command|list}} | + | ;SelectedIndex( <List> ) |
− | ;SelectedIndex | + | :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 | + | |
− | + | {{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
- SelectedIndex( <List> )
- Returns the index of the selected element of a drop-down list.
Note: See also SelectedElement command
Note:
- SetValue( <drop-down list>, <Number n > )
- Set n as the index of the selected element in the drop-down list.