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. Cancel change of regular report active sheet.
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: