Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is my logic this morning?
Message
From
22/10/2003 12:23:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/10/2003 12:16:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00841000
Message ID:
00841123
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform