Vcl.ActnMenus.TCustomActionMenuBar.DoItemClicked
Delphi
function DoItemClicked(AnItem: TCustomActionControl): TActionClientItem; virtual;
C++
virtual Vcl::Actnman::TActionClientItem* __fastcall DoItemClicked(Vcl::Actnman::TCustomActionControl* AnItem);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomActionMenuBar |
Description
Returns the action of the currently clicked item.
DoItemClicked is internally used to return the action of the currently clicked item of the action band.
AnItem
is the currently clicked item.
If AnItem
has subitems, it display the subitems' pop-ups.