StdActns.TEditCopy

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From StdActns.pas

TEditCopy = class(TEditAction)


Unit: StdActns

Type: class

Inherited Class Members: StdActns.TEditCopy Members

C++ Information

From StdActns.hpp

TEditCopy = class(TEditAction)


Unit: StdActns

Type: class

Inherited Class Members: StdActns.TEditCopy Members

Class Constructors & Destructors: StdActns.TEditCopy Constructors

Description

TEditCopy copies the selected text in a target edit control to the Windows clipboard.


Add TEditCopy to an action list to allow users to copy 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 copy the currently selected text in an active text control to the clipboard.

TEditCopy 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 that edit control does not have any text selected.

See Also

Personal tools
Translations
Newest Version