Report > Report Assembly Classes > ReportEvents > ReportEvents.OnBeforeActivateSheet
OnBeforeActivateSheet(OldSheet:IPrxSheet; NewSheet: IPrxSheet; Var Cancel: Boolean);
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.
The OnBeforeActivateSheet method implements the event that occurs before changing active sheet of the regular report.
Available values of the Cancel parameter:
True. Regular report sheet will not be activated.
The method use is given in the example for IPrxReportUserEvents.EventOnBeforeActivateSheet.
See also: