TcxPivotGridCustomPopupMenu.ExecuteCommand(Integer) Method
Executes an action associated with the ACommand index.
Declaration
procedure ExecuteCommand(ACommand: Integer);
Parameters
Name | Type |
---|---|
ACommand | Integer |
Remarks
Use the ExecuteCommand method to run either the built-in or a custom action (see also the TcxPivotGridPopupMenus.OnClick event).
The ACommand parameter specifies the index of the action to be executed.
Note
indexes of the built-in actions are specified by the following constants: pgcmCollapse, pgcmCollapseAll, pgcmExpand, pgcmExpandAll, pgcmHide, pgcmHideCustomization, pgcmMoveToBeginning, pgcmMoveToEnd, pgcmMoveToLeft, pgcmMoveToRight, pgcmShowCustomization, and pgcmShowPrefilterDialog.
See Also