IUiPrxActivateSheetEventArgs.NewSheet

Syntax

NewSheet: IPrxSheet;

Description

The NewSheet property returns the sheet of a regular report that has become active.

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