Table of Contents

TTMSFNCDataGridData.CanSwapColumn Method

Returns True when swapping the two specified columns is permitted by current options and event handlers.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

function CanSwapColumn(AFromColumn, AToColumn: Integer): Boolean;

Parameters

Name Description
AFromColumn Zero-based column index used by the operation.
AToColumn Zero-based column index used by the operation.

Returns

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