FMX.Memo.TCustomMemo.InsertAfter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InsertAfter(const APosition: TCaretPosition; const AFragment: string; const Options: TInsertOptions);

C++

void __fastcall InsertAfter(const Fmx::Text::TCaretPosition &APosition, const System::UnicodeString AFragment, const Fmx::Memo::Types::TInsertOptions Options);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Memo.pas
FMX.Memo.hpp
FMX.Memo TCustomMemo

Description

Inserts the AFragment string into the memo's text, at APosition.

InsertAfter inserts in the memo's text the string specified by AFragment at the position specified by APosition. Options represent a set of insert options.

Note: InsertAfter does not insert a newline character. If the Pos field of the APosition parameter is greater than the width of the specified line, then AFragment is inserted on the next line.

Note: If in a call of InsertAfter one removes TInsertOptions.CanUndo from Options, then the implemented changes cannot be backed out.

InsertAfter internally calls Model.InsertAfter.

See Also