Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Industrial Graphic Editor

Read the caption of a selected item in a list

  • Last UpdatedJul 08, 2024
  • 1 minute read

You can read the caption of a selected item in a Combo Box or List Box list.

Read 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.

TitleResults for “How to create a CRG?”Also Available in