API:Vcl.ListActns.TCustomVirtualListAction

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ListActns.TCustomListActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentTCustomVirtualListAction

Delphi

TCustomVirtualListAction = class(TCustomListAction)

C++

class PASCALIMPLEMENTATION TCustomVirtualListAction : public TCustomListAction

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.

Vcl.ListActns.TCustomVirtualListAction inherits from Vcl.ListActns.TCustomListAction. All content below this line refers to Vcl.ListActns.TCustomListAction.

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