Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tree View manipulation - MSCOMCTL
Message
 
To
03/08/2000 12:49:05
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00400468
Message ID:
00400504
Views:
16
>The help and sample information on TreeView activex control in VFP seems to be missing some basic information. It refers to manipulating the nodes of the control using "standard collection" techniques. Is there a source that documents what these are?
>
>In particular the sample code shows use of nodes.add() which takes 5 parameters. From the example and other sources I have determined that:
>Para 1 = Parent node
>Para 3 = Key of the new node
>Para 4 = Text for the node
>
>Para 2 appears to be a constant of 4 (it is referrd to as tvwChild in some of the documentation but without explanation) and Para 5 is not used. Does anyone know what these parameters are for?
>
>The documentation also refers to nodes.clear() to remove all nodes and nodes.remove() to remove a node. Are there any more methods available to the nodes collection()?
>TIA

Sam, try
http://www.eagleusa.com/misc/treeviewdoc.zip
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform