Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tree View manipulation - MSCOMCTL
Message
From
03/08/2000 12:49:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Tree View manipulation - MSCOMCTL
Miscellaneous
Thread ID:
00400468
Message ID:
00400468
Views:
58
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 Robbins BCRTC
Next
Reply
Map
View

Click here to load this message in the networking platform