ReadOnly: Boolean;
@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 containing the LanerBox component with the LanerBox1 identifier and the UiErAnalayzer component with the UiErAnalayzer1 identifier that is a data source for LanerBox1. The time series database workbook, that contains some data series must be loaded to UiErAnalyzer.
Before executing the example select one series in the LanerBox1 component.
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.
The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.
Imports Prognoz.Platform.Interop.Laner;
…
Public Sub ReadOnlySeries();
Var
Series: ILanerSerie;
Begin
Series := lanerBoxNet1.SelectedSeries[0];
Series.@ReadOnly := True;
End Sub ReadOnlySeries;
See also: