Store index of selected item

This option allows you to store the index number of the item selected by the user to a variable:

image\Listbox_Properties_Index.jpg

In this illustration, the Index number is stored in the List_lineNum variable selected from the list.

Note: The Index position starts at 0 – this means that if the user selects the first line in the Listbox, the variable List_lineNum will contain the value 0.

Close