RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEditPaste Class

TEditPaste pastes text from the clipboard into the active edit or memo control.

Pascal
TEditPaste = class(TEditAction);
C++
class TEditPaste : public TEditAction;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!