FormatConditionsSetup Command

Purpose

Opens a standard dialog box that is used to set up parameters of conditional data formatting.

Parameters of Use

Command parameters are passed in the Data property. Executing the command requires to specify the following value in this property:

Value type Description
IEaxAnalyzer  or IEaxGrid The express report or express report table, for which it is required to set up parameters of conditional formats.

Application Features

The command can be used only for express reports.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component, and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for the TabSheetBox component.

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("FormatConditionsSetup", Context);
End Sub Button1OnClick;

Clicking the button opens a standard dialog box that is used to set up conditional formatting parameters for the express report specified in the UiErAnalyzer1 component.

See also:

IUiCommandTarget.Execute