ILanerNameColumn.Header

Syntax

Header: String;

Description

The Header property determines column name.

Comments

The ILanerColumn.ReadOnly property determines whether column data can be edited.

Example

Executing the example requires a form with the LanerBox component and the UiErAnalyzer component with the UiErAnalyzer1 identifier, that is a data source for LanerBox. Workbook of the time series database must be loaded to UiErAnalyzer1.

Sub UserProc;
Var
    Laner: ILaner;
    Columns: ILanerAttributeColumns;
    Col: ILanerColumn;
    ColName: ILanerNameColumn;
    i: Integer;
Begin
    Laner := UiErAnalyzer1.ErAnalyzer.Laner;
    Columns := Laner.AttributeColumns;
    For i := 0 To Columns.Count - 1 Do
        Col := Columns.Column(i);
        If Col.Type = LnColumnType.Name Then
            ColName := Col As ILanerNameColumn;
            ColName.Header := "Series name";
        End If;
    End For;
End Sub UserProc;

After executing this procedure, name of the column that contains series names is changed.

See also:

ILanerNameColumn