ObjectDCL Banner

OnFolderChanged Event

Description

Indicates the selected folder changed.

Parameters

sNewFolder
String identifying the name of the selected folder.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnFolderChanged 
                 (sNewFolder [as String] /)
     
)

Applies For

CustomFileDlg, DwgList.

Example

CopyCode imageCopy Code
; React to the folder selection change
(princ c:MyForm_MyControl_OnFolderChanged
                 (sNewFolder /)
     (princ "OnFolderChanged(")
     (princ sNewFolder)
     (princ ")\n")
)

See Also

OnSelChanged (FileDialog)