Table of Contents

TTMSFNCDataGridData.CanMergeCells Method

Returns True when merging the specified rectangular block is permitted by current options and event handlers.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

function CanMergeCells(AColumn, ARow, AColumnCount, ARowCount: Integer): Boolean;

Parameters

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

Returns

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