Print Page | Close Window

Icons appearing for no reason

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3739
Printed Date: 06 October 2024 at 5:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Icons appearing for no reason
Posted By: preecep
Subject: Icons appearing for no reason
Date Posted: 07 March 2006 at 5:12am

We are finding that icons on command bar menus on seperate forms are being altered during runtime outside of our code.

It seems as if there is a global icon cache for all the command bars and the icons get over written if you reuse index/tag properties.

The biggest issue we have regarding this problem is that menu items with no icons get given icons depending on whether other command bars are shown or not.

We are using vb imagelists and 9.70.




Replies:
Posted By: Oleg
Date Posted: 07 March 2006 at 10:49am

Hello,

Yes, by default icons are shared between all instances.

Change property UseSharedImageList.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: preecep
Date Posted: 08 March 2006 at 3:13am

Thanks

As this default setting can lead to undefined behaviour (if you do not know about it) perhaps it should be defaulted to false ?

 




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