ILanerDatabaseColumn.Text

Syntax

Text: LnDatabaseColumnText;

Description

The Text property determines the text displayed in the column.

Comments

There can be a name or a database path displayed in a column.

Example

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

Click the button to start executing this example.

    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Var
        ErAn: IEaxAnalyzer;
        Laner: ILaner;
        LanerAttr: ILanerAttributeColumns;
        LanerDbCol: ILanerDatabaseColumn;
    Begin
        ErAn := UiErAnalyzer1.ErAnalyzer;
        Laner := ErAn.Laner;
        Laner.BeginUpdate;
    // Additional attribute display 
        LanerAttr := Laner.AttributeColumns;
        LanerDbCol := LanerAttr.AddByType(LnColumnType.Database) As ILanerDatabaseColumn;
        LanerDbCol.Text := LnDatabaseColumnText.Name;
        Laner.EndUpdate;
    End Sub Button1OnClick;

After executing the example the column with the name of the database containing the series is displayed in the workbook.

See also:

ILanerDatabaseColumn