Vcl.ActnMenus.TCustomActionMenuBar.CreatePopup
Delphi
function CreatePopup(AOwner: TCustomActionMenuBar;
Item: TCustomActionControl): TCustomActionPopupMenu; virtual;
C++
virtual TCustomActionPopupMenu* __fastcall CreatePopup(TCustomActionMenuBar* AOwner, Vcl::Actnman::TCustomActionControl* Item);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomActionMenuBar |
Description
Creates and initializes the pop-up for the specified menu item.
CreatePopup is used to create and initialize the pop-up for a menu item specified by the Item parameter.
AOwner is the action bar that owns the item.