Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.GetPopupMenu

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance