@ Cyllceaux
Don't forget... it's still in development
Not forgotten, thanks.
Earlier issues now all sorted, thanks.
Can I suggest a simple renaming?
There are three single integer answers to the question 'What row is this?" - perhaps for a selected row, for example.
Take the tree table with Stamm1-3 collapsed, and taking the Stamm4/Ast1/Zweig1/Blatt2 row.
1. It is row 46 (approx, counted by hand!) which is the row if all the Stamm/Ast/Zweig above it were expanded.
As far as I am aware this number is not made public. Debatable whether it is needed, but since it is unique it could be one way of specifying where a new row should be inserted.
2. Row 7, as returned by GetVisiblePosition
3. Row 1, as returned by GetPosition.
As you point out in your comment in the 3rd code snippet of your 3 July post, GetPosition returns the position in the sublist below Stamm4/Ast1/Zweig1
Perhaps it would be helpful to rename GetPosition to GetSubPosition or GetLevelPosition or something similar?