>I am having a problem associating an imagelist control with a treeview control. The documentation says that the imagelist control should show up in the pull down of the imagelist property on the treeview, but nothing shows up. Any ideas?
This is a bug with VFP. You can achieve the same results, except that you need to do it programatically. Follow these steps to test:
1. Create a form
2. Add and imagelist - name it imagelist
3. Add a treeview - name it treeview
4. Add an image to the imagelist
You can do this by rightclicking the imagelist to bring up its custom property
sheet and selecting the images tab. This can also be done programtically in the
init() of the imagelist control like this:
This.ListImages.Add(1,"fox",LoadPicture(getfile()))
5. In the form, add thiscode:
With This
.treeview.object.imagelist = .imagelist.object
EndWith
This issue has been fixed in 6.0
Let me know how you make out.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only