IEtlObjectPanelBox.ActiveTab

Syntax

ActiveTab: Integer;

Description

The ActiveTab property determines an active component tab.

Comments

The tab index must be specified as a property value:

If the negative index, index greater than three, or hidden tab index is specified as the ActiveTab property value, the active tab will not be changed.

Example

Executing the example requires a form with the button named Button1 on it, the UiEtlObject component named UiEtlObject1, the EtlBox component named EtlBox1 and the EtlObjectPanelBox component named EtlObjectPanelBox1. UiEtlObject1 is selected as a data source for EtlBox1. EtlBox1 is set a data source for EtlObjectPanelBox1. Any ETL task is connected to UiEtlObject1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    EtlObjectPanelBox1.ShowSources := 
False;
    EtlObjectPanelBox1.ActiveTab := 
1;
End Sub Button1OnClick;

Clicking the button hides the tab with data sources from the EtlObjectPanelBox1 component area. The data consumers tab will be active.

See also:

IEtlObjectPanelBox