FMX.Memo.TCustomMemo.DeleteSelection
Delphi
procedure DeleteSelection;
C++
void __fastcall DeleteSelection(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Memo.pas FMX.Memo.hpp |
FMX.Memo | TCustomMemo |
Description
Removes the selected text from the memo control.
Use DeleteSelection to delete the selected text from the memo control. If the ReadOnly property is True or if no text is selected, DeleteSelection does nothing.
Note: Calling DeleteSelection has the same result as setting the SelText property to a blank string.