How can I detect if a certain row in a hierarchical listbox is a row belonging to an expanded row?
Like in:
+Father
+Father
-Father
|Daughter <---
|Daughter
+Father
How can I detect if a certain row in a hierarchical listbox is a row belonging to an expanded row?
Like in:
+Father
+Father
-Father
|Daughter <---
|Daughter
+Father
I use the RowTag to store that information when I expand the parent row. For example, if the parent row has an index of 3, it’s RowTag will store “3”, it’s first child will be “3.1”, then “3.2”, etc. I store and retrieve as string so I can have “3.1”, “3.10”, and “3.100”, if needed.
Hi Ken,
yes I was already coding that as it seems a logic solution. There is no property like “Parent” or something. “parent” points to RectControl…
Right, Xojo doesn’t track that link internally, AFAIK.