Skip to main content

TcxPivotGridPopupMenus.OnPopup Event

Fires after an end-user has invoked the pop-up menu on any menu enabled pivot grid’s area.

Declaration

property OnPopup: TcxPivotGridPopupMenuPopupEvent read; write;

Remarks

Implement the OnPopup event handler to customize the pop-up menu before it appears.

The Sender parameter specifies the pivot grid.

The ABuiltInMenu parameter specifies the built-in pop-up menu component (a TcxPivotGridCustomPopupMenu descendant such as the TcxPivotGridFieldHeaderMenu, TcxPivotGridGroupValueMenu or TcxPivotGridHeaderAreaMenu class) used as a basis for building the custom pop-up menu.

The AHandled parameter specifies whether the default pop-up menu is required when the event handler has finished its execution. Assign a value of True to the AHandled parameter to avoid displaying the default pop-up menu.

See Also