FileDialog.CancelError Property

 FileDialog.CancelError  (read-write, Boolean)
 
If set to True, the ShowSave() and ShowOpen() methods generate a trappable error (exception) when the user clicks the Cancel button. Default is False.

Syntax

FileDialog.CancelError [= Boolean]

The property syntax has these parts:

Part Description
Value (Boolean) If set to True, the ShowSave() and ShowOpen() methods generate a trappable error (exception) when the user clicks the Cancel button. Default is False.

Remarks