Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview and private datasession
Message
From
25/11/2003 11:34:36
 
 
To
25/11/2003 11:20:43
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00853186
Message ID:
00853339
Views:
18
Hi Gregory,

My opinion is this:
the problem is on the error routine
( when a error occurs, VFP lost the reference to the this.Treeview, and the countObject it remains unchanged)

try with a variable:
private treeview,NodeExists

NodeExists = TRUE
treeview   = m.this.Treeview

on error NodeExists = FALSE
=treeview.Nodes.Item(m.NodeName)
on error &sError

treeview   = NULL
FABIO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform