SelectedIndex (Property)

Applies To:

ControlsDropDown object, Slider object

Description:

Returns or sets the selections index in a drop-down control. Setting this value causes the dropdown to change its selection.

Action:

Read-write, Integer

Example:

This example shows how to display the number of the selected item in an Alert dialog box:

Index=ActiveDocument.Sections["Dashboard2"].Shapes["DropDown1"].SelectedIndex=3
Alert("The user selected " + String(Index))