-
Hello,
I am trying to associate the nodes of a trreview with the returned recordset of a SQL query. However during the form load I get the following when tring to set the image property of the treeview control.
"Imagelaist must be set before it can be used"
Code Below
==========
With tvwDB
.Sorted = True
Set mnode = .Nodes.Add()
.LabelEdit = False
.LineStyle = tvwRootLines
End With
With mnode ' Add first node.
.Image = "closed"
.Text = "Publishers"
.Tag = "Biblio"
End With
However the example with biblio.mdb in VB examples is EXACTLY the same, and works without any problem.
Any help greatly appreciated.
Thanks
Tony.
-
Have you selected the Imagelist in the Treeview's property pages?
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company