Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview and private datasession
Message
De
26/11/2003 03:51:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00853186
Message ID:
00853602
Vues:
19
Hi Larry,

I have tried
return (type('this.Treeview.Nodes.Item(NodeName).Key') == T_CHARACTER)
It still leaves me with an extra unknown datasession.

How come you don't have that problem ? Maybe you are using datasessin #1 ..


>FWIW, you could change your NodeExists function to be:
>return type("this.Treeview.Nodes.Item(NodeName).Key") = "C"
>You don't need to trap for an error. I use this all the time in my treeview class.
>
>Regards.
>
>>endwith
>
>>Hi Agnes,
>>
>>Thanks. It is my first experience with Treeview and it's all very simple stuff
>>
>>The form closes normally, it's just the datasession that is left.
>>
>>I do not iterate through the nodes. I just populate the tv with the root nodes and expand them if needed
>>
>>I even have even removed the nodes when I got Collapse() event. To no avail.
>>
>>There surely is a way to avoid the leftover dataasessions. The challenge is to find it. But after two days of struggling, I thought I'd ask ;-)
>>ie
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform