判断对话框属性CancelError的值.
CancelError Property
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 Anobject expression that evaluates to an object in the Applies To list. boolean ABoolean 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
|