Vcl.Forms.TCustomForm.PopupMenu
Delphi
property PopupMenu stored IsForm;
C++
__property PopupMenu = {stored=IsForm};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Specifies the pop-up menu associated with the control.
Vcl.Forms.TCustomForm.PopupMenu inherits from Vcl.Controls.TControl.PopupMenu. All content below this line refers to Vcl.Controls.TControl.PopupMenu.
Specifies the pop-up menu associated with the control.
Assign a value to PopupMenu to make a pop-up menu appear when the user selects the control and clicks the right mouse button. If the TPopupMenu's AutoPopup property is True, the pop-up menu appears automatically. If the menu's AutoPopup property is False, display the menu with a call to its Popup method from the control's OnContextPopup event handler.
See Also
Code Examples