Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview problems
Message
From
11/01/1999 08:40:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Treeview problems
Miscellaneous
Thread ID:
00174616
Message ID:
00174616
Views:
57
Christof:
Sorry to bother you, but general posts both here and on CIS have not gotten an answer I can use. Juan Romero had some suggestions that helped, but did not solve the problem.

I have 3 trees, each on a separate pageframe. Each page represents a slightly different organization of the same data. I am NOT using the label editing capabilities. When I rename a report, I have to remove the node from each tree and add it back with the new name. I'd also like to change the default behavior of the tree so that when the last node on the tree is removed, the selected item becomes the preious "child" instead of the "parent" of the removed "child". I have a custom method to analyze the "node to be removed" and change the selecteditem to the "previous child" (if it exists). I use VarType("node") == "O" AND !isNULL("node") AND vartype("node".previous.selected == "L". I still get an error '"node" does not equate to an object' (#1429, I think).

Here is the situation:

2 expanded nodes with multiple "children"
1)Delete the last child on 1 of the expanded nodes.
2)Delete the last child on the other expanded node.
Error occurs.

When I rename a "node", I need to determine the parent "folder". After 2 successive RENAME operations, I get the same error (#1429) when I try to reference the parent of the renamed node. It appears as if the Treeview activeX component is becoming unstable. Can you refer me to any resources or persons that can explain what I need to do to solve these problems?

We are considering trying to write a VB wrapper to "fix" these problems, but no one here has much VB experience.
TIA
Mike Timpe
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform