Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
treeview node tag hold array?
Trying to find a better way to let a treeview hold data and thought that
perhaps the Tag of the treeview nodes could hold arrays, so I tried this. In one Sub: dim arr(1 to 2, 1 to 35) Set nodx = _ MainForm.TreeView1.Nodes.Add(actNodeKey, tvwChild, , , Image:=3) nodx.tag = arr Then in another Sub: ..TreeView1.SelectedItem.Tag(1, 8) = "test" But when I run this for the first time I get an out of stack space error and the second time Excel just unloads, so a crash. Couldn't find anything about how this could be done, but if it could work it would be better than the way I do this now, which is hold the node data in an array and update the array according to what happens to the nodes. Thanks for any advice. RBS |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
need to create a node | Excel Discussion (Misc queries) | |||
delete a node in treeview | Excel Programming | |||
How to add a sub-node of a treeview control | Excel Programming | |||
HitTest function does not return node as documented | Excel Programming | |||
TreeView: add more than one node to nodes collection | Excel Programming |