FMX.Memo.TCustomMemo.DeleteFrom

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DeleteFrom(const APosition: TCaretPosition; const ALength: Integer; const Options: TDeleteOptions);

C++

void __fastcall DeleteFrom(const Fmx::Text::TCaretPosition &APosition, const int ALength, const Fmx::Memo::Types::TDeleteOptions Options);

Properties

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

Description

From the memo's text, deletes the fragment of text that has the ALength number of characters and begins at APosition.

Options specifies the delete options.

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

DeleteFrom internally calls Model.DeleteFrom.

See Also