It opens a standard dialog box that is used to set up calculated indicators.
Command parameters are passed in the Data property. Executing the command requires to specify the following value in the property:
Value type | Description |
IEaxAnalyzer | The express report, which calculated factors must be set up. |
The command can be used only for express reports.
Executing the example requires a form, the Button1 button on it and the UiErAnalyzer component named UiErAnalyzer1. An express object is connected to UiErAnalyzer1.
Add links to the Forms, Express, and UI system assemblies.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Target: IUiCommandTarget;
Context: IUiCommandExecutionContext;
Begin
Target := WinApplication.Instance.GetPluginTarget("Express");
Context := Target.CreateExecutionContext;
Context.Data := UiErAnalyzer1.ErAnalyzer;
Target.Execute("CalculatesSetup", Context);
End Sub Button1OnClick;
Clicking the button opens the Calculated Factors dialog box of express report.
See also: