Vcl.ExtActns.TListControlCopySelection

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtActns.TListControlActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentTListControlCopySelection

Delphi

TListControlCopySelection = class(TListControlAction)

C++

class PASCALIMPLEMENTATION TListControlCopySelection : public TListControlAction

Properties

Type Visibility Source Unit Parent
class public
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns Vcl.ExtActns

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