Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DOEVENTS needed to show the current item
Message
De
19/04/2004 23:10:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00896009
Message ID:
00896338
Vues:
23
>
*If we can assume everytime a node is clicked, the ShowInfo method
>*fires, then it could be imbedded in the NodeClick event.
>
>* Node click event in treeview
>procedure NodeClick(node)
>if this.tag#node.key &&prevents double firing for same node
>   this.tag=node.key
>   node.selected=.t.
>   ThisForm.ShowInfo(Node.Key,3)
>else
>endif
>endproc
>
>* Then, when it's needed to fire for Nodes(3), make the call this way:
>thisform.oTree.NodeClick(ThisForm.oTree.Nodes(3))
>
Thanks, this has resolved the issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform