IEaxCustomConfigurationCategory.Pads

Fore Syntax

Pads: IEaxConfigurationPads;

Fore.NET Syntax

Pads: Prognoz.Platform.Interop.Express.IEaxConfigurationPads;

Description

The Pads property returns collection of side panel tabs.

Fore Example

Executing the example requires that the form contains the  EaxConfigurationPanel  component named EaxConfigurationPanel1 and the  UiErAnalyzer  component named UiErAnalyzer1, used as a source for  EaxConfigurationPanel. The repository should have the form with the PARAMS identifier.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Cats: IEaxConfigurationCategories;
    Cat: IEaxCustomConfigurationCategory;
    C_Pads: IEaxConfigurationPads;
    C_Pad: IEaxConfigurationPad;
    Pad_Header: IEaxConfigurationPadHeader;
Begin
    Cats := EaxConfigurationPanel1.Categories;
    //Tab group
    Cat := New EaxCustomConfigurationCategory.Create; // create new tab group
    Cat.Caption := "More";
    Cats.AddCustom(Cat);
    C_Pads := Cat.Pads;
    //Tab
    C_Pad := New EaxConfigurationPad.Create; // create a new tab
    Pad_Header := C_Pad.Header;
    Pad_Header.Content := EaxConfigurationPadHeaderContent.CheckBox;
    Pad_Header.Value := False;
    C_Pad.Header.Title := "Parameters";
    C_Pad.Content.MetabaseObject := "PARAMS";
    C_Pads.Add(C_Pad);
End Sub Button1OnClick;

After executing the example the component will display tab groups regarding settings of the express report, specified as a source for UiErAnalyzer1. The group named More, containing the Parameters tab, is added. The tab panel is to contain the group of elements implemented as PARAMS form.

Fore.NET Example

To execute the example, the form should contain the  EaxConfigurationPanelNet  component named EaxConfigurationPanelNet1 and the UiErAnalyzerNet component named UiErAnalyzerNet1, specified as a source for EaxConfigurationPanelNet. The repository should have the form with the PARAMS identifier.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Cats: IEaxConfigurationCategories;
    Cat: IEaxCustomConfigurationCategory;
    C_Pads: IEaxConfigurationPads;
    C_Pad: IEaxConfigurationPad;
    Pad_Header: IEaxConfigurationPadHeader;
Begin
    Cats := EaxConfigurationPanelNet1.Categories;
    //Tab group
    Cat := New EaxCustomConfigurationCategoryClass.Create(); // create a new tab group
    Cat.Caption := "More";
    Cats.AddCustom(Cat);
    C_Pads := Cat.Pads;
    //Tab
    C_Pad := New EaxConfigurationPadClass.Create(); // create a new tab
    Pad_Header := C_Pad.Header;
    Pad_Header.Content := EaxConfigurationPadHeaderContent.ecchcCheckBox;
    Pad_Header.Value := False;
    Pad_Header.Title := "Parameters";
    C_Pad.Content.MetabaseObject := "PARAMS";
    C_Pads.Add(C_Pad);
End Sub;

After executing the example the component will display tab groups regarding settings of the express report, specified as a source for the UiErAnalyzer1. The group named More, containing the Parameters tab, is added. The tab panel is to contain the group of elements implemented as PARAMS form.

See also:

IEaxCustomConfigurationCategory