FolderItem.DisplayName

From Xojo Documentation

Read-Only Property (As String )
StringValue = aFolderItem.DisplayName

Supported for all project types and targets.

The name of the FolderItem as it should be seen by the user.

Notes

It is usually the same as the Name property. Under macOS, use DisplayName rather than Name when displaying the name of the item to the user.