HbListBox() > Methods | ![]() |
![]() |
![]() |
![]() |
Inserts a new item into a list box.
oHbListBox:insItem( <nItemPos>, ; <cText> , ; [<xValue>] ) --> self
Method :insItem() accepts a text string and an optional associated value which are inserted at position <nItemPos> into 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