HbListBox() > Methods |
Adds a new item to a list box.
:addItem( <cText>, [<xValue>] ) --> self
Method :addItem() accepts a text string and an optional associated value which are added it to the internal list of list box items. The return value is the HbListBox object. The instance variable :itemCount reflects the new number of list box items maintained by a HbListBox object.
http://www.xHarbour.com