Using List Box-Specific Properties at Run Time
- Last UpdatedJul 13, 2023
- 1 minute read
You can use properties that are specific to the List Box control at run time.
-
The Count property returns the number of items in a List Box control.
-
The NewIndex property returns the index of the last item added to the List Box list.
-
The SelectedValue property reads the value of the selected item, or selects the item with that value if it exists.
-
The TopIndex property returns the index of the top most item in the list.
These properties are available when you browse for a List Box control in your element browser.