LISTITEM Data Type

LISTITEM identifies a specific item in a list that is implemented by a control such as a ListBox, ComboBox, or ListView. It is defined as follows:

type LISTITEM is INTEGER, STRING

The interpretation of a value of type LISTITEM depends on whether the type is an integer or a string.

An integer value specifies the 1-based index of the item.

A string value specifies the name of the item. The string can contain wildcard characters. (You can also specify the index of the item as a string, in the form "#n" where n is the numerical index of the item.)