[<<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.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson