Object: IUiErAnalyzer;
The Object property determines the object used as the component data source.
The data source of LanerBox is the development environment component - UiErAnalyzer.
Executing the example requires a form containing the LanerBox component with the LanerBox1 name, the LanerResultsBox component with the LanerResultsBox1 name and the UiErAnalyzer component with the UiErAnalyzer1 name. The workbook of time series database should be loaded to UiErAnalyzer1.
This procedure must be assigned as a handler of the OnClick event for this button.
Sub LanerBoxFormOnCreate(Sender: Object; Args: IEventArgs);
Begin
LanerBox1.Object := UiErAnalyzer1;
LanerResultsBox1.Object := UiErAnalyzer1;
UiErAnalyzer1.Active := True;
End Sub LanerBoxFormOnCreate;
The UiErAnalyzer1 component will be determined as data source for LanerBox1 and LanerResultsBox1 on creating a form.
See also: