ILanerLeftHeader.ElementFullName

Syntax

ElementFullName(SlotIndex: Integer; ElementIndex: Integer): String;

Parameters

SlotIndex. Index of the header slot.

ElementIndex. Index of the header element.

Description

The ElementFullName property returns the full name of a defined element in the sidehead of a header.

Comments

Full element name includes the element hierarchy.

The SlotIndex parameter value must be less than the ILanerHeader.SlotCount property value.

The value of the ElementIndex parameter must be less than the ILanerHeader.ElementCount property value.

Example

Executing the example requires a form with the Button1 button, the LanerBox component named LanerBox1 and the UiErAnalyzer component which is used as a data source for LanerBox. Workbook of the time series database must be loaded to UiErAnalyzer1. One or several series attributes must be displayed in thenbsp;LanerBox component.

Click the button to start executing this example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Analyzer: IEaxAnalyzer;
    Laner: Ilaner;
    Table: ILanerTable;
    LeftHeader: ILanerLeftHeader;
    SlotCount: Integer;
Begin
    Analyzer := UiErAnalyzer1.ErAnalyzer;
    Laner := Analyzer.Laner;
    Table := Laner.Execute;
    LeftHeader := Table.LeftHeader;
    SlotCount := LeftHeader.SlotCount - 1;
    If SlotCount > 0 Then
        Debug.WriteLine(LeftHeader.ElementFullName(SlotCount, 0));
    End If;
End Sub Button1OnClick;

After executing the example the full name of the first element of the last sidehead column is displayed in console window.

See also:

ILanerLeftHeader