FolderItem.Visible

From Xojo Documentation

Property (As Boolean )
aFolderItem.Visible = newBooleanValue
or
BooleanValue = aFolderItem.Visible

Supported for all project types and targets.

True if the FolderItem is visible and False if it is not.

Example

Var f As New FolderItem
f = FolderItem.ShowOpenFileDialog("????")

If f.Visible Then
MessageBox(f.DisplayName)
Else
MessageBox("The FolderItem is not visible.")
End If