Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCustomPopupMenu.Popup(Integer,Integer) Method

Displays the popup menu on screen.

#Declaration

Delphi
procedure Popup(X: Integer; Y: Integer); override;

#Parameters

Name Type
X Integer
Y Integer

#Remarks

This method is used to display the popup menu on screen at the point specified by the X and Y absolute coordinates. Use the PopupAlignment property to specify how the popup menu is horizontally aligned relative to this point.

The Popup method does the following:

  • Handles the OnPopup and OnShow events of the submenu control associated with the popup menu to fire the popup menu’s OnPopup and OnShow events instead;

  • Provides popup settings (including the pop-up position, alignment, animation effects, etc.) for the submenu control’s Show method;

  • Calls this Show method to display the submenu control and generate the events.

See Also