Vcl.Controls.TControl.GetPopupMenu
Delphi
function GetPopupMenu: TPopupMenu; dynamic;
C++
DYNAMIC Vcl::Menus::TPopupMenu* __fastcall GetPopupMenu();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
Returns the pop-up menu associated with the control.
Call GetPopupMenu to find the pop-up menu associated with the control. Override GetPopupMenu to change which pop-up menu is associated with the control or to specify different pop-up menus depending on the state of the control.
GetPopupMenu returns the value of the Popup property.