Skip to main content
Table of Contents

TTMSFNCMemoLines.Exchange Method

Swaps the positions of two lines within the editor.

API unit family: TMSFNCMemo Declaring type: TTMSFNCMemoLines

Syntax

FMX.TMSFNCMemo.hppPascalC++
procedure Exchange(Index1, Index2: Integer); override;
virtual void __fastcall Exchange(int Index1, int Index2);

Parameters

Name Description
Index1 Zero-based index of the first line.
Index2 Zero-based index of the second line.