Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ImageList with a ListView
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00575817
Message ID:
00575827
Views:
23
>I have an ImageList and a ListView a form.
>
>In the Init of the form I have:
>
>
>ThisForm.oleListView.ImageList = ThisForm.oleImages
>

>
>and I still get the "ImageList must be initialized..." error.
>
>Anyone know why?

Try:
ThisForm.oleListView.Object.ImageList = Thisform.oleImages.Object
I assume that ImageList control was placed on the form before the ListView - as it has to be placed on the form before the ListView or any other ActiveX control which may use it.
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
Next
Reply
Map
View

Click here to load this message in the networking platform