Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ms treeview control
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00101517
Message ID:
00101590
Vues:
22
Thank you very much for your help.
By the way, is there any way to refer to the same value outside of
of the click()?
In my case, I'd like to refer to the current node's parent key value
when I press a command button on a form.
Any suggestion will be appreciated.


>In the click(), a reference to the currently selected node is passed. So, in the
>click, you could have code like this:
>
>Lparameters node
>
>selectedkey = node.key
>
>To get a reference to the parent, you could do this:
>
>parentkey = node.parent.key
>
>If a parent does not exist, an ole error will be surfaced. So, you will need to make code like this a bit more robust, as follows:
>
>If Type("node.Parent.index") = "N" && a parent does exist
>Else
> */ no parent exists
>Endif
If you have a chance to visit Korea, Be my Guest.
rexall
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform