CustomTitle: String;
The CustomTitle property determines the custom name of the column.
By default the custom title is not determined.
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 must be loaded to UiErAnalyzer1. The data edit mode must be turned on for the LanerBox1 component.
Sub UserProc;
Var
Laner: ILaner;
Columns: ILanerAttributeColumns;
Col: ILanerColumn;
i: Integer;
Begin
Laner := UiErAnalyzer1.ErAnalyzer.Laner;
Columns := Laner.AttributeColumns;
For i := 0 To Columns.Count - 1 Do
Col := Columns.Column(i);
Debug.WriteLine(Col.Type);
If Col.Type = LnColumnType.Name Then
Col.ReadOnly := False;
Col.CustomTitle := "Name";
End If;
End For;
UiErAnalyzer1.ErAnalyzer.RefreshAll;
End Sub UserProc;
After executing the example the name of the column containing series names is changed. The series names are editable.
See also: