Table of Contents

TTMSFNCDataGridData.CanSwapRow Method

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

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

function CanSwapRow(AFromRow, AToRow: Integer): Boolean;

Parameters

Name Description
AFromRow Zero-based row index used by the operation.
AToRow Zero-based row index used by the operation.

Returns

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