RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEditSelectAll Class

TEditSelectAll selects all text in an active text control.

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

StdActns

Add TEditSelectAll to an action list to allow users to select all the text in a text control using menu items or toolbar buttons. Controls such as menu items and tool buttons linked to this action cause the application to select all text in an active text control. 

TEditSelectAll is designed to work with an edit control (TCustomEdit descendant) as a target. It automatically disables itself if the active control in a form is not an edit control or if the edit control does not have any text. 

 

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