Vcl.StdCtrls.TCustomEdit.CutToClipboard
Delphi
procedure CutToClipboard;
C++
void __fastcall CutToClipboard();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomEdit |
Description
Copies the selected text to the Clipboard in CF_TEXT format and then deletes the selection.
Use CutToClipboard to replace the contents of the Clipboard with the selected text while clearing the selected text. If no text is selected, CutToClipboard does nothing.
Note: Calling CopyToClipboard does the same thing as sending the edit control a WM_CUT message.
See Also