HbListBox() > Methods xHarbour Developers Network  

oHbListBox:select()

Queries or changes the selected item in a list box.

Syntax

:select( [<nItemPos>] ) --> nCurrentItemPos

Arguments

<nItemPos>
If specified, this is a numeric value defining the ordinal position of the list box item to select as current item. Items are numbered from 1 to :itemCount.

Description

The method returns a numeric value indicating the ordinal position of the currently selected list box item.

If <nItemPos> is specified, the corresponding list box item is selected as current item.


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