Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jump to a specific node in a treeview and expand it
Message
De
22/10/2003 21:03:24
 
 
À
22/10/2003 18:18:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00841352
Message ID:
00841392
Vues:
41
This message has been marked as a message which has helped to the initial question of the thread.
Change your
.ADD('Message1'+'_'+'0000',tvwChild,al3parnt.ckey,TRIM(al3Parnt.cSelf))
line to
oNode = .ADD('Message1'+'_'+'0000',tvwChild,al3parnt.ckey,TRIM(al3Parnt.cSelf))
and then add the line
oNode.Expanded = .T.
after the point where you know its children have been added.

Untested, but I think it's close.

cheers
SNIP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform