Skip to main content

TcxSchedulerEventPopupMenu.OnClick Event

Fires after an end-user has clicked an AItem popup menu item or an ASubItemIndex submenu item.

Declaration

property OnClick: TcxSchedulerEventPopupMenuClickEvent read; write;

Remarks

Implement the OnClick event handler to provide custom behavior (for example, displaying a submenu) when an end-user has clicked a menu item.

The Sender parameter specifies the popup menu invoked;

The AItem parameter specifies the item clicked;

The ASubItemIndex parameter specifies the submenu item clicked;

The AHandled parameter specifies whether default operations are required when the event handler exits. Assign True to the AHandled parameter to avoid executing the default action.

See Also