Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set the parent property on a node of a treeview
Message
From
11/06/1998 16:36:27
Jeroen Naus
Harte-Hanks Europe
Hasselt, Belgium
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How do I set the parent property on a node of a treeview
Miscellaneous
Thread ID:
00107357
Message ID:
00107357
Views:
54
I'm trying to change the parent of a node on a treeview. Foxpro gives me an error doing this. Is there anyone out there that did this and made it work. According to the ACTIVEX Manual this property is setable at runtime.

Command I'm using:
thisform.treeview.nodes(lcKey).Parent=thisform.treeview.nodes(lcPar)
also tried:
thisform.treeview.nodes(lcKey).Parent=thisform.treeview.nodes(lcPar).object
also tried:
thisform.treeview.nodes(lcKey).Parent=thisform.treeview.nodes.index(lcPar)
also tried:
thisform.treeview.nodes(lcKey).Parent=lcPar
...
Next
Reply
Map
View

Click here to load this message in the networking platform