Vcl.ActnMenus.TCustomizeActionToolBar.GetActionControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetActionControl(const Index: Integer): TCustomActionControl; override;

C++

virtual Vcl::Actnman::TCustomActionControl* __fastcall GetActionControl(const int Index);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomizeActionToolBar

Description

Returns the action of a specified item from the action band.

Vcl.ActnMenus.TCustomizeActionToolBar.GetActionControl inherits from Vcl.ActnMan.TCustomActionBar.GetActionControl. All content below this line refers to Vcl.ActnMan.TCustomActionBar.GetActionControl.

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++).