Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView Expand / NodeClick
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
TreeView Expand / NodeClick
Miscellaneous
Thread ID:
00707240
Message ID:
00707240
Views:
64
Hi all

I may this all wrong and confused. I have a TreeView class for my app. I have a method SyncTreeView, here there is an assignment for loNode.SELECTED. Once the assignment is done I did a Trace on it and it went through Expand and then onto NodeClick. In Nodeclick there is a THISFORM.RefreshForm() call.

Now I have to call SyncTreeView twice from the RefreshForm method itself, so there is a recursion how can I avoid this. If I remove the RefreshForm from call from NodeClick the actual clicking of the node does not work, whereas programatically I get the required results.

Please help. If I am not clear please let me know I'll try explaining differently.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform