LanerBox.OnFinishExecute

Syntax

Sub OnFinishExecute(Sender: Object; Args: IEventArgs);

Begin

//set of operators;

End Sub OnFinishExecute;

Parameters

Sender. Component that has generated the event.

Args. Event parameters.

Description

The OnFinishExecute event occurs after entire workbook is calculated.

Comments

Parameters of this event cannot be changed.

The LanerBox.OnStartExecute event occurs before the entire workbook is started to be calculated.

Example

Executing the example requires a form, the LanerBox component named LanerBox1 positioned on this form, and the UiErAnalyzer component used as a data source for LanerBox. The workbook of time series database must be loaded to the UiErAnalyzer. The form also contains the Memo component with Memo1 identifier.

The procedure must be set the OnFinishExecute event handler for the LanerBox component.

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:

LanerBox