Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is my logic this morning?
Message
De
22/10/2003 12:23:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/10/2003 12:16:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00841000
Message ID:
00841123
Vues:
30
As I remember < g - getting older > I added node.key values as trim(cSelf)+'_'+trans(seq).

*NodeClick
lcSelf = left(Node.Key,at('_',Node.Key)-1)
lnSeq  = val(substr(Node.Key,at('_',Node.Key)+1))
select mySource
locate for cSelf = lcSelf and Seq= lnSeq
PS: Node.Key is already unique (TV requirement).
Cetin


>Another question:
>
>In the nodeclick method, how do I get a reference to that node which was clicked? The only properties I can see at that point is ensurevisible and text. I now want to show the child records in a grid beside the treeview, but to do this, I need to be able to link the clicked on node in the treeview with its appropriate record in al3parnt table so I can move the record pointer in the grid...do I need to add an additional value to the node during filltree? Are there any other node properties to work with?
>
>Tracy
>
>
>
>>>Hi Cetin,
>>>
>>>What is the TvUtils class?
>>>
>>>Tracy
>>
>>It's at the bottom of code. Just added there to get text representation to clipboard.
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform