Show contents 

Report > Report Assembly Classes > ReportEvents > ReportEvents.OnBeforeActivateSheet

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. Indicates whether changing of regular report active sheet is canceled.

Description

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

Comments

Available values of the Cancel parameter:

Example

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

See also:

ReportEvents