ReadOnly: Boolean;
The ReadOnly property determines whether a series is read-only.
Available values:
True. The series is read-only.
False. The series is available to edit.
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 workbook of the time series database should be loaded to UiErAnalyzer1. Before executing the example select one series in the LanerBox1 component.
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 ReadOnlySeries;
Var
Series: ILanerSerie;
Begin
Series := LanerBox1.SelectedSeries(0);
Series.ReadOnly := True;
End Sub ReadOnlySeries;
After executing the example the series selected in the LanerBox1 component is read-only.
See also: