TTMSFNCDataGrid.IsCellValid Method
Returns True when the cell coordinate lies inside the grid bounds.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Overloads
Overload 1
Returns True when the cell coordinate lies inside the grid bounds.
function IsCellValid(ACell: TTMSFNCDataGridCellCoord): Boolean; overload;
bool __fastcall IsCellValid(const TTMSFNCDataGridCellCoord &ACell)/* overload */;
Parameters
| Name | Description |
|---|---|
ACell |
Cell coordinate to test. |
Returns
True when both the column and the row index are valid (0 to ColumnCount - 1 and 0 to RowCount - 1).
Overload 2
Returns True when the column and row indexes lie inside the grid bounds.
function IsCellValid(AColumn, ARow: Integer): Boolean; overload;
bool __fastcall IsCellValid(int AColumn, int ARow)/* overload */;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index. |
ARow |
Zero-based row index. |
Returns
True when both indexes are valid.