Table of Contents

TTMSFNCDataGridRenderer.LookupInColumnFromRow Method

Searches the specified column starting from ARow for a cell whose text starts with AValue.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

function LookupInColumnFromRow(AColumn, ARow: Integer; AValue: string; AAllRows: Boolean = False; AAutoGoto: Boolean = False): TTMSFNCDataGridCellCoord;

Parameters

Name Description
AColumn Zero-based column index to search.
ARow Zero-based row index where the search starts.
AValue Text prefix to search for.
AAllRows When True, searches all rows from the start row; when False, limits the search to the visible/page scope.
AAutoGoto When True, moves the focused cell to the match.

Returns

The coordinate of the first match, or an invalid coordinate when no match is found.