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 with the EaxConfigurationPanel1 identifier, the UiErAnalyzer component with the UiErAnalyzer1 identifier and the Button component with the Button1 identifier. 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 pass to the Selection tab group and selection dimension. On clicking the button, all dimension levels will be expanded.
See also: