Skip to content

CancelToClose Method 367

This method is used to change the buttons in a PropertySheet object. Its effect is to disable the Cancel button and, if the Style of the PropertySheet is 'Standard', it changes the text of the OK button to "Close". There is no result.

The CancelToClose method is niladic.

Application

Objects: PropertySheet