Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView not allowing ImageList to be set
Message
 
To
09/07/1997 10:23:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00039081
Message ID:
00039229
Views:
39
>Hi all. I am trying to add an ImageList to a TreeView ActiveX control, but whenever I try to set myform.TreeView.ImageList = myform.ImageList, I get INVALID OBJECT OLE error... The ImageList was dropped on the form before the TreeView. It also does not work in interactive mode, and it cannot be set through the TreeView's property sheet. Any clues?

Hi Gino,

I think you have met the same thing I solved last month. Probably you got "wrong" TreeView installed, if you recently installed or reinstalled VB, for example.
Copy comctl32.ocx from VFP CD-ROM and re-register it. (it is in OS\SYSTEM, size 332288, date 8/21/96)

HTH,

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform