RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEditCut Class

TEditCut cuts the selected text in a target edit or memo control to the Windows clipboard.

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

StdActns

Add TEditCut to an action list to allow users to cut selected text to the clipboard using menu items or toolbar buttons. Controls such as menu items and tool buttons linked to this action cause the application to cut the currently selected text in an active text control to the clipboard. 

TEditCut is designed to work with an edit control (TCustomEdit or TCustomMemo descendant) as a target. It automatically disables itself if the active control in a form is not an edit control or if that edit control does not have a selection to cut. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!