GetSelectedItem Function

Class

ComboBox class.

Action

Returns the currently selected item in the combo box.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

item = combobox.GetSelectedItem()
Variable Description
item The currently selected combo box item or 0 if nothing is selected. LISTITEM.

Example

Verify(ComboBox1.GetSelectedItem(), "Line 5")