In a program there is aTTreeview, with just two "levels" - roughly diagrammed:
A
|__A1
|__A2
B
|__B1
|__B2
C
|__C1
Normally only one of the top level nodes (A,B,C) is expanded and one of the second-level nodes below that one generates a form full of data.
Now I have had to add a routine to jump to a specific second-level node. Done But I have been unable to leave the tree with its parent node alone expanded - so if B2 is chosen, B should be expanded, A and C not.
I thought that collapsing the tree and then using currentnode.expandparents would do the job, but that leaves the tree collapsed.
Any help greatly appreciated!
Thanks
T.