Vcl.ListActns.TCustomListAction

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TCustomListAction = class(TCustomAction)

C++

class PASCALIMPLEMENTATION TCustomListAction : public Vcl::Actnlist::TCustomAction

Properties

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

Description

TCustomListAction is the base class for action objects that provide items to client controls.

TCustomListAction implements the common behavior for actions that supply the items to a list view, list box or combo box.

When an application sets the Active property of a list action to true, the action fills all client list boxes and combo boxes with items. Each item may include information such as a text caption, an image, and a pointer to data.

When the user selects an item in one of the client controls, the client "executes" the list action, which causes it to generate an OnItemSelected event.

When a TCustomListAction is added to an action manager, it uses the action to generate a drop-down list on a tool bar.

See Also