Skip to main content

TdxBarPopupMenuLink.OnAction Event

This event occurs before a popup menu is displayed on screen.

Declaration

property OnAction: TdxBarPopupMenuLinkActionEvent read; write;

Remarks

Write an OnAction event handler to perform specific actions before a menu is displayed on screen. The Sender parameter points to the menu link for which this event was generated. X and Y determine the coordinates of the leftmost corner of the menu (in control coordinates). AllowPopup determines whether the menu will be displayed on screen. Set AllowPopup to False within the event handler to avoid displaying the menu on screen. ClickedByMouse determines whether the menu is displayed upon a mouse button press event.

See Also