INavigationBarPad.SystemId

Syntax

SystemId: String;

Description

The SystemId property returns identifier of the system tab.

Comments

The property is relevant only for system tabs and it is available if the IsSystem property returns True.

Example

Executing the example requires a form with the button named Button1 on it, the NavigationBar component named NavigationBar1 and any component (ChartWidget, MapWidget ot TableWidget), which NavigationBar1 is selected as visual component to display system tabs. Custom tabs are also created in NavigationBar1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Pads: INavigationBarPads;
    Pad: INavigationBarPad;
Begin
    Pads := NavigationBar1.Pads;
    For Each Pad In Pads Do
        If Pad.IsSystem Then
            Debug.WriteLine("System tab: " + Pad.Header.Title + ". (" + Pad.SystemId + ')');
        Else
            Debug.WriteLine("Custom tab: " + Pad.Header.Title);
        End If;
    End For;
End Sub Button1OnClick;

Clicking the button displays information about tabs in the NavigationBar1 component in the development environment console. For system tabs name and identifier are displayed, for custom tabs only the name is displayed.

See also:

INavigationBarPad