Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search for given treeview key
Message
De
23/04/2010 01:37:44
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Search for given treeview key
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01461655
Message ID:
01461655
Vues:
102
Hello Everybody

What is best/fastes way to check a treeview structure for a given node key.
I do:
l_ok = .F.
For i = 1 to tw.nodes.count
	if tw.nodes(i).key = searchedKey
		l_ok = .T.
		exit
	endif
endfor
I think, that there must be a more elegant way?

Any help welcomed.

Best regards
Albert
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform