Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treview - Find root node
Message
De
18/03/2009 03:20:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01388033
Message ID:
01388973
Vues:
38
Problem is solved
Thank you guys :)

>
>*Optimize at your discretion - Siblings ain't parents
>*
>local oRoot as object,oNode as object
>oNode=myform.myTree.SelectedItem
>do while .t.
>if type('oNode.Parent.text')==[C]
>   oNode=oNode.Parent
>else
>   oRoot=oNode
>   exit
>endif 
>enddo
>
>Terry
>www.r6solutions.com/
>
>
>
>
>
>>Dear all
>>
>>If TreeView have multiple root nodes at top level wich then branch down to multiple levels.
>>If user click node at the deep end, how do I find root node of that branch.
>>I need actually string of that root node as they are all strings.
>>
>>Any help is greatly appreciated.
>>
>>TIA
>>Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform