LanerBox.OnStartExecute

Syntax

OnStartExecute(Sender: Object; Args: IEventArgs);

Parameters

Sender. The component that generated the event.

Args. Event parameters.

Description

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

Comments

Parameters of this event cannot be changed.

The LanerBox.OnFinishExecute event occurs after the entire workbook is calculated.

Example

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 OnStartExecute event for LanerBox.

Sub LanerBox1OnStartExecute(Sender: Object; Args: ILanerBoxSerieEventArgs);
Begin
    Memo1.Lines.Add("Calculations in the workbook are started");
End Sub LanerBox1OnStartExecute;

After calculations in the workbook are started, the Memo1 component shows information on it.

See also:

LanerBox