

| Type | Description | |||
| Files | A Files collection that includes the files and sub-folders of the current folder object. |
The Files collection supports for each statement, so for instance, the following sample displays the list of files/folders of the current selection:
Private Sub ExFileView1_StateChange(ByVal State As EXFILEVIEWLibCtl.StateChangeEnum)
If (State = SelChangeState) Then
With ExFileView1.Get(SelItems)
If (.Count > 0) Then
With .Item(0)
If (.Folder) Then
Dim f As EXFILEVIEWLibCtl.File
For Each f In .Children
Debug.Print "Sub-Files/Folders: " & f.Name
Next
End If
End With
End If
End With
End If
End Sub