General information
Category:
Coding, syntax & commands
Title:
Autoexpand special treeview nodes
Hello Everybody
I have a treeview structure with about 2000 nodes over n levels.
Normaly only the root is expanded.
Now the user wants to see the full path from a special child node backwards to root(= autoexpand all nodes that point to the special child).
(expanding the parent node of the child + the parent node of the parent node + ... = fullpath backwards)
Example:
root
n1,n2,n3
...,n2.1,n2.2,n2.3,...
...,n2.2a,n2.2b,n2.2d,....
...,n2.2b1,n2.2b2,...
So if the given child key is n2.2b2 i want to expand root,n2,n2.2,n2.2b and point to n2.2b2
The keys of the nodes have no structured id's as in my example. (just idnnnnnn)
In VB there is a function "fullpath" to handel this.
How to code this behavior in foxpro.(VFP 9.2)
Any help welcomed.
Best regards
Albert
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only