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

TcxTreeListPopupMenu.OnClick Event

In This Article

Enables you to respond to clicks on built-in context menu items.

#Declaration

Delphi
property OnClick: TcxTreeListPopupMenuClickEvent read; write;

#Remarks

The Sender and AItem parameters provide access to the TreeList control and the menu item clicked.

The AHandled parameter specifies whether the default handling of the click should be done after the event handler has been executed. For standard built-in menu items, the default handling performs the command associated with the item clicked. Pass True as the AHandled parameter to prevent the default processing of item clicks.

See Also