RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEditDelete Class

TEditDelete deletes the selected text in a target edit or memo control.

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

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

TEditDelete 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 the active edit control does not have any selected text. 

 

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