RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.GetPopupMenu Method

Returns the pop-up menu associated with the control.

Pascal
function GetPopupMenu: TPopupMenu; dynamic;
C++
__fastcall TPopupMenu GetPopupMenu();

Call GetPopupMenu to find the popup menu associated with the control. Override GetPopupMenu to change which popup menu is associated with the control or to specify different popup menus depending on the state of the control. 

GetPopupMenu returns the value of the Popup property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!