Difference between revisions of "SelectedIndex Command"
From GeoGebra Manual
Noel Lambert (talk | contribs) |
Noel Lambert (talk | contribs) |
||
Line 4: | Line 4: | ||
{{Note|1= See also [[SelectedElement Command |SelectedElement]] command}} | {{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.}} |
Revision as of 12:29, 28 December 2016
- 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.