Imagelist creation from code
Publicado: Vie Jul 26, 2013 12:03 pm
Hi,
I'm trying to create an imagelist from code.
The image used is a toolstrip image of size 312x24 which contains 13 images in format 24x24 added to the resources of the app.
When I create the object and add the resource to it the :GetImageCount() returns 26.
It looks like the image is doubled.
Attached is a small project that shows the behaviour.
Any help would be greatly appreciated.
Regards Giuseppe
Attached files TestImageList.zip (12.4 KB)Â
I'm trying to create an imagelist from code.
The image used is a toolstrip image of size 312x24 which contains 13 images in format 24x24 added to the resources of the app.
When I create the object and add the resource to it the :GetImageCount() returns 26.
It looks like the image is doubled.
Attached is a small project that shows the behaviour.
Any help would be greatly appreciated.
Regards Giuseppe
Attached files TestImageList.zip (12.4 KB)Â