ListBox.RowIsFolder

From Xojo Documentation

Method

ListBox.RowIsFolder(row as Integer) As Boolean

New in 2014r3

Supported for all project types and targets.

For hierarchical ListBoxes, is used to get or set whether the row should be displayed as a folder.

Example

Me.AddFolder("Added as a Folder")
Me.RowIsFolder(Me.LastIndex) = False // Disable folder indicator