Vcl.StdActns.TEditPaste
Delphi
TEditPaste = class(TEditAction)
C++
class PASCALIMPLEMENTATION TEditPaste : public TEditAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | Vcl.StdActns |
Description
TEditPaste pastes text from the clipboard into the active edit or memo control.
Add TEditPaste to an action list to enable users to paste text from the clipboard using menu items or toolbar buttons. Controls such as menu items and tool buttons linked to this action cause the application to paste text from the clipboard into an active text control.
TEditPaste is designed to work with an edit control (TCustomEdit or TCustomMemo descendant) as a target. It automatically disables itself if the clipboard does not contain text.