FMX.Memo.Style.TStyledMemo.DoPaste
Delphi
procedure DoPaste(Sender: TObject);
C++
void __fastcall DoPaste(System::TObject* Sender);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Memo.Style.pas FMX.Memo.Style.hpp |
FMX.Memo.Style | TStyledMemo |
Description
Copies the contents of the system Clipboard to the memo control.
DoPaste copies the contents of the system Clipboard, if possible, to the memo control, at the position of the cursor. If there is text selected in the memo control, the selected text will be removed. The DoPaste procedure is called when the OnClick event of the Paste
context menu item is triggered.