ReportEvents.OnBeforeActivateSheet

Syntax

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

Parameters

OldSheet. The regular report sheet that was active.

NewSheet. The regular report sheet that will become active.

Cancel. Cancel change of regular report active sheet.

Description

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

Comment

Available values of the Cancel parameter:

Example

The method use is given in the example for IPrxReportUserEvents.EventOnBeforeActivateSheet.

See also:

ReportEvents