ObjectDCL Banner

OnInitialize Event

Description

Indicates the form is being initialized and about to be shown.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_OnInitialize ()
     
)

Applies For

ConfigTab, Dockable, FileDialog, Modal, Modeless.

Example

CopyCode imageCopy Code
; React to the form being initialized
(defun c:MyForm_OnInitialize ()
     (princ "OnInitialize\n")
)

See Also

OnCancelClose, OnClose