ReportEvents.OnBeforeActivateSheet

Syntax

Sub OnBeforeActivateSheet(OldSheet:IPrxSheet, NewSheet: IPrxSheet, Var Cancel: Boolean);

Begin

// set of operators

End Sub OnBeforeActivateSheet;

Parameters

OldSheet - previous active sheet of the regular report.

NewSheet - the regular report sheet that is to become active.

Cancel - this parameter determines activation of a regular report sheet. When this parameter is set to True, the regular report sheet is not activated, when it is set to False, the sheet is activated.

Description

The OnBeforeActivateSheet method implements the event that occurs before changing active sheet of the regular report.

See also:

ReportEvents