Register(Laner: ILaner): Boolean;
Laner. Workbook of the time series database in series mode.
The Register method registers workbook in the context. The method returns True if the registration is successful, and False if the workbook is already registered.
Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for TabSheetBox. Working area of the time series database must be loaded to UiErAnalyzer1.
Click the button to start executing this example.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
pContext: ILanerContext;
Laner: ILaner;
Begin
pContext := New LanerContext.Create;
Laner := UiErAnalyzer1.ErAnalyzer.Laner;
pContext.Register(Laner);
End Sub Button1OnClick;
After executing the example the working area of the time series database is registered in context of the time series database.
See also: