CancelError

This property returns and sets a value indicating whether an error is generated by a CommonDialog control when a user chooses the Cancel button.

Syntax

commondialog.CancelError [= Boolean]

Parameters

commondialog
Object expression that evaluates to an object.
Boolean
Boolean expression that indicates whether an error is generated.

Remarks

When this property is set to True, error number 32755 (cdlCancel) occurs whenever a user chooses the Cancel button.