| HbListBox() > Methods |
![]() |
![]() |
![]() |
Determines the position of an item within a list
oHbListBox:findText( <cText> , ;
[<nStartPos>] , ;
[<lCaseSensitive>], ;
[<lExact>] ) --> nItemPos
Method :findText() searches a list box item by its textual representation displayed in the list box. If <cText> is found in the internal item list, the method returns a numeric value indicating the ordinal position of the found list box item. Use method :getItem() to retrieve the found list box item.
When <cText> cannot be found, the return value is zero.
http://www.xHarbour.com