HbListBox() > Methods |
Retrieves the data associated with a list box item.
:getData( <nItemPos> ) --> xValue
List box items are arrays with two elements. The first element holds the textual information displayed in the list box, while the second element contains an associated value.
Method :getData() returns the second element of the list box item specified with <nItemPos>, or NIL when an invalid item position is specified.
http://www.xHarbour.com