OnFinishExecute(Sender: Object; Args: IEventArgs);
Sender. The component that generated the event.
Args. Event parameters.
The OnFinishExecute event occurs after entire workbook is calculated.
Parameters of this event cannot be changed.
The LanerBox.OnStartExecute event occurs before the entire workbook is started to be calculated.
Executing the example requires a form, the LanerBox component named LanerBox1 on the form and the UiErAnalyzer component that is a data source for LanerBox. A workbook of time series database should be loaded to UiErAnalyzer. The form also contains the Memo component with the Memo1 identifier.
This procedure must be assigned as a handler of the OnFinishExecute event for LanerBox.
Sub LanerBox1OnFinishExecute(Sender: Object; Args: ILanerBoxSerieEventArgs);
Begin
Memo1.Lines.Add("Calculations in the workbook are completed");
End Sub LanerBox1OnFinishExecute;
After calculations in the workbook are completed, the Memo1 component shows information on it.
See also: