HbListBox() > Methods xHarbour Developers Network  

oHbListBox:getItem()

Retrieves a list box item.

Syntax

:getItem( <nItemPos> ) --> aItem

Arguments

<nItemPos>
This is a numeric value specifying the ordinal position of the list box item to retrieve. Items are numbered from 1 to :itemCount.

Description

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 :getItem() returns the array of the list box item specified with <nItemPos>, or NIL when an invalid item position is specified.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe