Header: String;
The Header property determines column name.
The availability of column data for editing is determined by the ILanerColumn.ReadOnly property.
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.
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: