querySheetChg(folder: Folder; newSheet: Sheet): Boolean;
The querySheetChg event of the Folder class occurs before the user changes a sheet using the keyboard or the mouse, to give the logic the opportunity to reject the change of sheet.
The actions determined by the return values for this event are listed in the following table.
Return Value | Action |
---|---|
True | The sheetChg event is called |
False | The sheet change request is ignored and the sheetChg event is not called |
Use the querySheetChg event in wizards, to enable users to change sheets back again (for example, by using a <Back button).