Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar + ImageLIst
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00184641
Message ID:
00184690
Views:
16
>Hi,
> I am using MS toolbar control (commctl32.ocx) as my toolbar for having coolbar effect (after some code included). I want to show image on each button, therefore i use imagelist to store a series of image file...however the toolbar cannot detect the exist of imagelist control, it cause i cannot show the image ....it work fine in VB....
>Help...
>Thank you

John,

It sounds like the toolbar bar was added to form before the imagelist. When the form is created the toolbar will initialize first, and won't be able to find the imagelist (it doesn't exist yet). The solution would be to cut the toolbar from the form and then paste it back on. This will cause the imagelist to initialize first, then the toolbar.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform