Function Name | c:<CONTROL-NAME>#OnCancelClose |
---|---|
Syntax | (defun c:<CONTROL-NAME>#OnCancelClose
(Reason [as
Integer] /) |
Return Type | Boolean |
Applies To | File Dialog, Modal Dialog, Modeless Dialog |
This event is triggered when the user attempts to close the dialog. Reason is 1 if the dialog is closing because the user wants to cancel changes; otherwise it is 0. A return value of T prevents the dialog from closing; otherwise the dialog is closed.