Skip to content

TMiletusPopupMenu

Description

This component allows to display a popup menu. Creating a TMiletusPopupMenu and adding TMenuItems to it is similar to VCL's TPopupMenu.

Designtime Runtime

Methods for TMiletusPopupMenu

Property Description
CloseMenu Metho to close the menu.
Popup(X, Y: Integer) Show the popup menu at X and Y coordinates.

Events for TMiletusPopupMenu

Property Description
OnPopup Event triggered when the popup menu opens.

Updating a TMiletusPopupMenu

The menu needs to be recreated and reassigned to the window after each modification. To make this procedure simple, just call the following line after modifying a menu:

MiletusPopupMenu1.EndUpdate;