Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar + ImageLIst
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00184641
Message ID:
00184690
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform