Chris Eastwood
May 19th, 1999, 04:04 AM
Hi
I *was* planning to convert my VBCodeLibrary to VB6 to utilize some of the new common controls features when I discovered (I think) a bug in the VB6 TreeView.
If you have a treeview with multiple levels of nodes and then do :
set nNode.Parent = nSomeOtherNode
VB5 handles this just fine and moves the required node. VB6 on the otherhand seems to reparent every single child node of the 'root' node that you are reparenting. This means that an operation that occurred immediately in VB5 can take several (10's of!) seconds.
Anyone else seen this behaviour ?
Regards
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb
I *was* planning to convert my VBCodeLibrary to VB6 to utilize some of the new common controls features when I discovered (I think) a bug in the VB6 TreeView.
If you have a treeview with multiple levels of nodes and then do :
set nNode.Parent = nSomeOtherNode
VB5 handles this just fine and moves the required node. VB6 on the otherhand seems to reparent every single child node of the 'root' node that you are reparenting. This means that an operation that occurred immediately in VB5 can take several (10's of!) seconds.
Anyone else seen this behaviour ?
Regards
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb