Table of Contents

TTMSFNCDataGrid.IsCellValid Method

Returns True when the specified cell coordinate is inside the grid bounds.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Overloads

Overload 1

Returns True when the specified cell coordinate is inside the grid bounds.

function IsCellValid(ACell: TTMSFNCDataGridCellCoord): Boolean; overload;

Parameters

Name Description
ACell Cell coordinate used by the operation.

Returns

True when the condition described by the method name is met; otherwise False.

Overload 2

Returns True when the specified column and row indices are inside the grid bounds.

function IsCellValid(AColumn, ARow: Integer): Boolean; overload;

Parameters

Name Description
AColumn Zero-based column index used by the operation.
ARow Zero-based row index used by the operation.

Returns

True when the condition described by the method name is met; otherwise False.