ListActns.TVirtualListAction

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From ListActns.pas

TVirtualListAction = class(TCustomVirtualListAction)


Unit: ListActns

Type: class

Inherited Class Members: ListActns.TVirtualListAction Members

C++ Information

From ListActns.hpp

TVirtualListAction = class(TCustomVirtualListAction)


Unit: ListActns

Type: class

Inherited Class Members: ListActns.TVirtualListAction Members

Class Constructors & Destructors: ListActns.TVirtualListAction Constructors

Description

TVirtualListAction provides items to client controls.


TVirtualListAction supplies items dynamically at runtime to client controls such as list views, list boxes, or combo boxes. These items are supplied by the code you supply to an OnGetItem event handler.

When an application sets the Active property of a list action to true, the action fills all client controls with items. Each item may include text, an image, and a pointer to data. Each client control determines which of these features of the item it accepts.

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 TVirtualListAction is added to an action manager, it uses the action to generate a drop-down list on a tool bar.

See Also

Personal tools
Translations
Newest Version