Pads: IEaxConfigurationPads;
The Pads property returns collection of side panel tabs.
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 a 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.
See also: