TTMSFNCCustomDataGrid.BaseCell Method
Returns the top-left base cell of the merged range that contains a cell.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
function BaseCell(ACell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridCellCoord;
TTMSFNCDataGridCellCoord __fastcall BaseCell(const TTMSFNCDataGridCellCoord &ACell);
Remarks
Data, layout and editing of a merged range are stored on its base cell, so resolve a clicked cell with this function before reading or writing its value.
Parameters
| Name | Description |
|---|---|
ACell |
The cell coordinate to resolve. |
Returns
The base (top-left) cell of the merged range, or ACell unchanged when the cell is not merged.