Information générale
Catégorie:
Contrôles ActiveX en VFP
John:
I've never used the toolbar control, but when working with ImageLists and ListViews I had similar problems. The answer was to set the ListView to use the Imagelist in the Init() method:
ListView.Init()
This.Icons = Thisform.oImageList1.Object
You may need to do the same here, only the "Icons" property should be changed to whatever one is used by the toolbar to reference the imagelist.
Hope this helps
Rob
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement