Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show data in treeview in four levels/nodes
Message
 
 
To
08/04/2008 13:58:26
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01308912
Message ID:
01309098
Views:
12
>Tariq,
>
>I was able to get it to run properly by adding an ON ERROR *
>
>Try this:
>
>select master
>#define tvwfirst	0
>#define tvwlast		1
>#define tvwnext		2
>#define tvwprevious	3
>#define tvwchild	4
>
>ON ERROR *
>with thisform.oletreeview.nodes
>   ...(your code goes here)
>ENDWITH
>
>-RW-

That's a clever way to write bug free code :)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform