The GetText method gets the text of the list item at the specified position in the list box.


The only argument is:


The one-based index of the list box item containing the text you are interested in.

Return value:

The text of the list box item at the given position, or an empty string if the index does not refer to an item or an error occurred.