ITabCellSearch.CaseSensitive

Syntax

CaseSensitive: Boolean;

Description

The CaseSensitive property determines whether the searched characters are case sensitive.

Example

Executing the example requires a form with the Button1 button located on it, the UiTabSheet component named UiTabSheet1 and the TabSheetBox component. The UiTabSheet1 is a data source for the TabSheetBox component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    TSheet: ITabSheet;
    CellSearch: ITabCellSearch;
    Result: ITabSearchResult;
    i, j: Integer;
Begin
    TSheet := UiTabSheet1.TabSheet;
    CellSearch := TSheet.CreateCellSearch;
    CellSearch.Text := "DATA";
    CellSearch.CaseSensitive := True;
    Result := CellSearch.Execute;
    If Result <> Null Then
        i := Result.CurrentRow;
        j := Result.CurrentColumn;
    End If;
End Sub Button1OnClick;

Clicking this button starts case sensitive search for the DATA value. After executing the event, the variable i will contain the row number, and the j - the cell column number.

See also:

ITabCellSearch