Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     <oListBox>:findText(<cText> [,<nPosition>]
        [,<lCaseSensitive>] [,<lExact>]) --> nPosition

        <cText> is a character string that indicates the text that is
        being searched for.

        <nPosition> is an optional numeric value that indicates the
        starting position in the list of the search.  The default is 1.

        <lCaseSensitive> is an optional logical value that indicates
        whether the search should be case sensitive.  Set <lCaseSensitive> to
        true (.T.) to indicate that the search should be case sensitive;
        otherwise, set <lCaseSensitive> to false (.F.).  The default is true
        (.T.).

        <lExact> is an optional logical value that indicates whether the
        search enforces an exact comparison including length and trailing
        characters.  A value of true (.T.) indicates that findText() searches
        for an exact match; otherwise, a value of false (.F.) indicates that
        it should not.  The default is the current setExact() setting.

        Returns a numeric value that indicates the position in the list of
        the first item from <nPosition> whose text matches <cText>, or 0 if
        ListBox:findText() is unsuccessful.

        findText() is a method of the ListBox class that is used for
        determining whether an item is a member of a list and its position
        within the list.  findText() always searches from <nPosition> to the
        end of the list and, when necessary, continues from the beginning of
        the list to <nPosition> - 1.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson