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 containing:
The LanerBox component with the LanerBox1 identifier.
The UiErAnalyzer component with the UiErAnalyzer1 identifier that is a data source for LanerBox1. Workbook of the time series database must be loaded to UiErAnalyzer1.
The data edit mode must be enabled for the LanerBox1 component after starting the form. After that the example can be executed.
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 this example the name of the column containing series names is changed. The series names are editable.
See also: