I've got a function that takes a node as a parmater by refernce. When i try and call it from the calling function though, I get a type mismatch error (trying to pass a TreeView.Nodes(index))
Don't know if you had any luck, but I found that the Nodes parameter does not work with Windows Common Controls v6, only with v5. If you previously used the nodes paramete, you might want to see what the recent version of TreeView is that you are using.
The way around it is to declare the variable as an Object, not a Node.
dim moNode as Object
Function ...
Set moNode.Parent = tvw.DropHighlight
end Function
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.