Express > Express Assembly Interfaces > IEaxSelectionPadContext > IEaxSelectionPadContext.PopupCommand
PopupCommand(CommandType: EaxPopupCommandType);
CommandType. Action on collapsed hierarchy.
The PopupCommand method executes action on collapsed hierarchy.
To sort hierarchy elements, use the IEaxSelectionPadContext.PopupSort method.
Executing the example requires a form containing the EaxConfigurationPanel component named EaxConfigurationPanel1, the UiErAnalyzer component named UiErAnalyzer1, and the Button component named Button1. Determine the UiErAnalyzer1 component as data source for the EaxConfigurationPanel1 component. Use express report as data source for the UiErAnalyzer1 component.
The example is a handler of the OnClick event for the Button1 component.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
sps: ISystemPadContext;
Type: EaxPopupCommandType;
Begin
sps := EaxConfigurationPanel1.GetActiveContext;
Type := EaxPopupCommandType.ExpandAll;
(sps As IEaxSelectionPadContext).PopupCommand(Type);
End Sub Button1OnClick;
On the side panel go to the Selection tab group and selection dimension. On clicking the button, all dimension levels will be expanded.
See also: