Pads: IEaxConfigurationPads;
The Pads property returns the collection of side panel tabs.
Executing the example requires a form containing the EaxConfigurationPanel component named EaxConfigurationPanel1, the UiErAnalyzer component named UiErAnalyzer1, which is a data source for EaxConfigurationPanel. The repository should have a form with the PARAMS identifier created.
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 displays 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 contains the group of elements implemented in the PARAMS form.
See also: