FMX.Memo.TCustomMemo.DeleteFrom
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
fromOptions
, then the implemented changes cannot be backed out.
DeleteFrom internally calls Model.DeleteFrom.