Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is my logic this morning?
Message
De
22/10/2003 12:35:44
 
 
À
22/10/2003 12:23:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00841000
Message ID:
00841127
Vues:
19
got it working! Thanks!
tracy

>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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform