HbListBox() > Methods xHarbour Developers Network  

oHbListBox:getText()

Retrieves the textual information of a list box item.

Syntax

:getText( <nItemPos> ) --> cText

Arguments

<nItemPos>
This is a numeric value specifying the ordinal position of the list box item to retrieve the textual iformation from. 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 :getText() returns the first element 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