Vcl.ComCtrls.TStatusBar.PopupMenu

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PopupMenu: TPopupMenu read FPopupMenu write SetPopupMenu;

C++

__property PopupMenu;

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TStatusBar

Description

Specifies the pop-up menu associated with the control.

Vcl.ComCtrls.TStatusBar.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