Vcl.ExtActns.TListControlSelectAll

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtActns.TListControlActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTListControlSelectAll

Delphi

TListControlSelectAll = class(TListControlAction)

C++

class PASCALIMPLEMENTATION TListControlSelectAll : public TListControlAction

Properties

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

Description

TListControlSelectAll selects all the items in a list control (list view or listbox).

Add TListControlSelectAll to an action list to allow users to select all the items of a 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 select all items in the target control (a listbox or list view).

TListControlSelectAll is designed to work with a list control (TCustomListControl descendant) as a target. TListControlSelectAll automatically disables itself if the target control is not a list control, if that target control does not permit multiple selection, or if all of the items in the target control are already selected.

See Also