ObjectDCL Banner

OnClose Event

Description

Indicates the form is about to be closed.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_OnClose ()
     
)

Applies For

Dockable, FileDialog, Modal, Modeless.

Example

CopyCode imageCopy Code
; React to the user closed the dialog
(defun c:MyForm_OnClose ()
     (princ "OnClose\n")
)

See Also

OnCancelClose, OnInitialize