Menus.TPopupMenu.AutoPopup

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Menus.pas

	property AutoPopup: Boolean read FAutoPopup write FAutoPopup;


Unit: Menus

Type: property

Visibility: published

Member Of: TPopupMenu

C++ Information

From Menus.hpp

	__property bool AutoPopup = {read=FAutoPopup,write=FAutoPopup};


Unit: Menus

Type: property

Visibility: public

Member Of: TPopupMenu

Description

Determines whether the pop-up menu appears automatically when the user clicks the right mouse button.


Set AutoPopup to true to cause the pop-up menu to appear automatically when the user clicks the right mouse button on a control that has the pop-up menu specified as its PopupMenu property. The application key present on keyboards specifically designed for 32-bit Windows will also show this menu when pressed.

Set AutoPopup to false if the appearance of the pop-up menu should be controlled programmatically. To display a pop-up menu when AutoPopup is false, use the Popup method.

See Also

Code Samples


Personal tools
Translations
Newest Version