HbListBox() > Methods |
Changes the data associated with a list box item
:setData( <nItemPos>, <xValue> ) --> self
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 :setData() assigns the value <xValue> to the second element of the list box item array specified with <nItemPos>.
http://www.xHarbour.com