Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Autoexpand special treeview nodes
Versions des environnements
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement