ExtActns.TListControlCopySelection

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From ExtActns.pas

TListControlCopySelection = class(TListControlAction)


Unit: ExtActns

Type: class

Inherited Class Members: ExtActns.TListControlCopySelection Members

Class Properties: ExtActns.TListControlCopySelection Properties

C++ Information

From ExtActns.hpp

TListControlCopySelection = class(TListControlAction)


Unit: ExtActns

Type: class

Inherited Class Members: ExtActns.TListControlCopySelection Members

Class Properties: ExtActns.TListControlCopySelection Properties

Class Constructors & Destructors: ExtActns.TListControlCopySelection Constructors

Description

TListControlCopySelection copies the selected items in a list control (list view or list box) to another (destination) list control.


Add TListControlCopySelection to an action list to allow users to copy the selected items of a list control to another list control by using menu items or toolbar buttons. Controls such as menu items and tool buttons linked to this action cause the application to copy all selected items in the target control to another (destination) list control.

Your application must explicitly set the Destination property to indicate the list to which items are copied.

TListControlCopySelection is designed to work with a list control (TCustomListControl descendant) as a target. This target is the source list control, not the destination. TListControlCopySelection automatically disables itself if the target control is not a list control, if that list box or list view has no selected items, or if there is no destination list control assigned.

See Also

Personal tools
Translations
Newest Version