IUiPrxActivateSheetEventArgs.OldSheet

Syntax

OldSheet: IPrxSheet;

Description

The OldSheet property returns the previous active sheet of a regular report.

Example

Consider the event that occurs after the active sheet is changed: EventOnAfterActivateSheet.

Sub EventOnAfterActivateSheet(Args: IUiPrxActivateSheetEventArgs);

Begin

WinApplication.InformationBox("Was active " + Args.OldSheet.Name + #13 + #10 + "Has become active " + Args.NewSheet.Name);

End Sub EventOnAfterActivateSheet;

After the event occurs, a message containing information on the previous and the current active sheets is displayed.

See also:

IUiPrxActivateSheetEventArgs