From Xojo Documentation

Revision as of 14:44, 9 October 2019 by PLefebvre (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

ListBox.RowDepthAt(row as Integer) As Integer

New in 2019r2

Supported for all project types and targets.

For hierarchical ListBoxes, this is the depth of the specified row in the hierarchy. A top-level row has RowDepth = 0.


Get depth of selected row:

Var row As Integer = ListBox1.RowCount
Var depth As Integer = ListBox1.RowDepthAt(row)