Vcl.ExtActns.TListControlMoveSelection

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtActns.TListControlCopySelectionVcl.ExtActns.TListControlActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionTListControlMoveSelection

Delphi

TListControlMoveSelection = class(TListControlCopySelection)

C++

class PASCALIMPLEMENTATION TListControlMoveSelection : public TListControlCopySelection

Properties

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

Description

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

Add TListControlMoveSelection to an action list to allow users to move 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 move 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.

TListControlMoveSelection is designed to work with a list control (TCustomListControl descendant) as a target. This target is the source list control, not the destination. TListControlMoveSelection 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