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 following components: the Button component named Button1, the LanerBox component named LanerBox1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is a data source for LanerBox1. A working area of the time series database should be loaded to UiErAnalyzer1.

The example is a handler of the OnClick event for the Button1 component.

Add links to the Express, ExtCtrls, Forms, Laner, and Tab system assemblies.

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