Active: Boolean;
The Active property determines whether the component is active.
Available values:
True. The component is active. Data is passed to the component specified in the IWidget.NavBar property.
False. The component is inactive.
Executing the example requires a form and the components on it:
The Button1 button.
TableWidget named TableWidget1.
NavigationBar named NavigationBar1.
UiErAnalyzer named UiErAnalyzer1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Pads: INavigationBarPadList;
Pad: INavigationBarPad;
Begin
//Navigation bar, which will display tabs
TableWidget1.NavBar := NavigationBar1;
//Source, to which settings are applied
TableWidget1.Source := UiErAnalyzer1 As ITableSource;
//Activate components
UiErAnalyzer1.Active := True;
TableWidget1.Active := True;
//List of available tabs
Pads := TableWidget1.Pads;
For Each Pad In Pads Do
If Pad.IsSystem Then
Debug.WriteLine(Pad.SystemId);
End If;
End For;
End Sub Button1OnClick;
On clicking the button the TableWidget1 component is set up and connected. This component will connect and give access to the system tabs for setup of table of the repository object, which is connected in the UiErAnalyzer1 component. The list of available tabs is displayed in the development environment console.
See also: