Print Page | Close Window

Different imagelist for groups and items

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=4583
Printed Date: 21 May 2024 at 9:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Different imagelist for groups and items
Posted By: fernando
Subject: Different imagelist for groups and items
Date Posted: 12 July 2006 at 7:16am
Hi,


I'd like to use use biggers icons for the groups (maybe 32x32) and smaller ones (16x16) for the groupItems.

How can I do this? AFAIK, the TaskBar only supports a single ImageList....

Thanks in advance



Replies:
Posted By: SuperMario
Date Posted: 12 July 2006 at 9:15am
You can use the ImageManager, it is much better and you can add images of all different sizes.

These links should help you to use the image manager.  They are under the CommandBars section, but the tutorial is general enough to apply to any control.

http://www.codejock.com/support/articles/com/commandbars/cb_13.asp - http://www.codejock.com/support/articles/com/commandbars/cb_13.asp
http://www.codejock.com/support/articles/com/commandbars/cb_12.asp - http://www.codejock.com/support/articles/com/commandbars/cb_12.asp
http://www.codejock.com/support/articles/com/commandbars/cb_14.asp - http://www.codejock.com/support/articles/com/commandbars/cb_14.asp

By default, the group items already use 16x16 icons.  You can just add a 32x32 icon to the ImageManager for use with the Group.


Posted By: fernando
Date Posted: 12 July 2006 at 10:58am
Originally posted by SuperMario SuperMario wrote:

You can use the ImageManager, it is much better and you can add images of all different sizes.

These links should help you to use the image manager.  They are under the CommandBars section, but the tutorial is general enough to apply to any control.

http://www.codejock.com/support/articles/com/commandbars/cb_13.asp - http://www.codejock.com/support/articles/com/commandbars/cb_13.asp
http://www.codejock.com/support/articles/com/commandbars/cb_12.asp - http://www.codejock.com/support/articles/com/commandbars/cb_12.asp
http://www.codejock.com/support/articles/com/commandbars/cb_14.asp - http://www.codejock.com/support/articles/com/commandbars/cb_14.asp

By default, the group items already use 16x16 icons.  You can just add a 32x32 icon to the ImageManager for use with the Group.


Thanks, I'll geive it a try right away!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net