Skip to main content

TcxTreeListPopupMenu.OnClick Event

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

Declaration

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