- Type: script code
- This should be set to code which is called when the user presses the Cancel button. Return
trueto allow the wizard to be canceled, and close the wizard, or return
falseto prevent the wizard from being canceled.Use the
canCancelproperty to indicate to the user (by disabling the Cancel button) that they cannot cancel.