Reading the Caption of a Selected Item in a List
- Last UpdatedJul 13, 2023
- 1 minute read
You can read the caption of a selected item in a Combo Box or List Box list.
Reading the caption of a selected item in a Combo Box or List Box list
-
In an action script, use the following method:
Caption = ControlName.GetItem(Index);
where ControlName is the name of the Combo Box or List Box control. Index is the index of the item for which you want to read the caption. The first item of the list has an index of 0.
Caption contains the item caption of the specified index.