Returns or sets a value indicating whether an error is generated when the user chooses the Cancel button.
Syntax
object.CancelError [= boolean]
The CancelError property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
boolean | A Boolean expression indicating whether an error is generated, as described in Settings. |
Settings
The settings for boolean are:
Setting | Description |
True | An error is generated. |
False | (Default) No error is generated. |
Remarks
When this property is set to True, error number 32755 (cdlCancel) occurs whenever the user chooses the Cancel button.
Data Type
Boolean