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