|
-
Nov 25th, 1999, 06:34 PM
#1
Thread Starter
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|