>I'm trying to associate an imagelist with the treeview list. I've both the treeview and the imagelist objects on a form together.
>Efforts to try and set the treeview's imagelist property to the imagelist object have failed.
>
>THISFORM.treeview.imagelist = THISFORM.imagelist
>
>I get an "invalid object" error message.
>
>Thanks,
>Steve Despres
Steve,
The Image list control must be put on the form before the tree view control in order for the tree view control to recognize the image list control. Once this is done just right click on the treeview control and select TreeView Control Properties and under ImageList select the appropriate Image list control name. There is an article in the January FoxPro Advisor that has some helpful information on TreeView Controls.
Hope this is your answer
John
Previous
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