Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView - I can't get the ImageList property initialize
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00041539
Message ID:
00041816
Views:
34
>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
Map
View

Click here to load this message in the networking platform