General information
Category:
Coding, syntax & commands
Title:
How do I set the parent property on a node of a treeview
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only