Vcl.ActnMan.TCustomActionBar.GetActionControl
Delphi
function GetActionControl(const Index: Integer): TCustomActionControl; virtual;
C++
virtual TCustomActionControl* __fastcall GetActionControl(const int Index);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Vcl.ActnMan.pas Vcl.ActnMan.hpp |
Vcl.ActnMan | TCustomActionBar |
Description
Returns the action of a specified item from the action band.
GetActionControl is used to return the action of the item specified by the Index parameter from the action band.
If Index is not valid, then GetActionControl returns nil (Delphi) or NULL (C++).