Skip to main content
Table of Contents

TTMSFNCDataGridData.CanMoveColumn Method

Checks whether a column can be moved to another position.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

FMX.TMSFNCDataGridData.hppPascalC++
function CanMoveColumn(AFromColumn, AToColumn: Integer): Boolean;
bool __fastcall CanMoveColumn(int AFromColumn, int AToColumn);

Parameters

Name Description
AFromColumn Zero-based index of the column to move.
AToColumn Zero-based destination index.

Returns

True when both columns exist, differ, and contain no merged cells.