RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListAction Class

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

Pascal
TCustomListAction = class(TCustomAction);
C++
class TCustomListAction : public TCustomAction;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!