ObjectDCL Banner

OnTypeChange Event

Description

Indicates the selected folder changed.

Parameters

sFileType
String identifying the selected file type.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnTypeChange 
                 (sFileType [as String] /)
     
)

Applies For

CustomFileDlg.

Example

CopyCode imageCopy Code
; React to the file type selection change
(princ c:MyForm_MyControl_OnTypeChange
                 (sFileType /)
     (princ "OnTypeChange(")
     (princ sFileType)
     (princ ")\n")
)

See Also

OnSelChanged (FileDialog)