Vcl.ExtActns.TListControlAction

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTListControlAction

Delphi

TListControlAction = class(TCustomAction)

C++

class PASCALIMPLEMENTATION TListControlAction : public Vcl::Actnlist::TCustomAction

Properties

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

Description

TListControlAction is the base class for action objects that operate on the selection of a list control (list box or list view).

TListControlAction implements the common behavior for actions that work with list controls (list boxes and list views). Each descendant class performs a specific operation on the target list control. Do not use TListControlAction directly in an application. Instead, use a TListControlAction descendant such as TListControlSelectAll, TListControlClearSelection, TListControlDeleteSelection, TListControlCopySelection, or TListControlMoveSelection.

TListControlAction makes the target list control available to descendant classes as the value of the ListControl property. TListControlAction descendants then override the ExecuteTarget method to perform their specific function on the target list control.

See Also