ObjectDCL Banner

OnCancel Event

Description

Indicates that the user has clicked the Preferences dialog box's Cancel button.

AutoLISP Syntax

Each dialog that throws this event has its handler that takes this generic form:

CopyCode imageCopy Code
(defun c:FormName_OnCancel ()
     
)

Applies For

ConfigTab.

Example

CopyCode imageCopy Code
; React to the user that pressed Cancel
(defun c:MyForm_OnCancel ()
     (princ "OnCancel\n")
)

See Also

OnOK, OnHelp