ObjectDCL Banner

OnOK Event

Description

Indicates that the user has clicked the Preferances dialog box's OK button.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_OnOK ()
     
)

Applies For

ConfigTab.

Example

CopyCode imageCopy Code
; React to the user that pressed OK
(defun c:MyForm_OnOK ()
     (princ "OnOK\n")
)

See Also

OnCancel, OnHelp