Skip to main content
Table of Contents

TTMSFNCDataGridData.BaseCell Method

Returns the base (top-left) cell of the merged range that contains a cell.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

FMX.TMSFNCDataGridData.hppPascalC++
function BaseCell(ACell: TTMSFNCDataGridCellCoord): TTMSFNCDataGridCellCoord;
TTMSFNCDataGridCellCoord __fastcall BaseCell(const TTMSFNCDataGridCellCoord &ACell);

Remarks

Merged cells store their value in the base cell, so read and write values through the coordinate this function returns.

Parameters

Name Description
ACell Column and row of any cell in the grid.

Returns

The base cell of the merge, or ACell unchanged when the cell is not merged.