Print Page | Close Window

Loading Images to Tools

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=18508
Printed Date: 06 October 2024 at 12:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Loading Images to Tools
Posted By: StefanM
Subject: Loading Images to Tools
Date Posted: 07 June 2011 at 8:55am
Hello NG,
 
i have 2 forms, both host a Commandbarcontrol, both of them have the constants for the tools declared private within the form. When i use the same ID's within both forms the Icons are not loaded correctly. Means that sudenly FormA Tools have Icons from FormB. How is this possible when there are two Commandbars Objects??
 
Thanks in advance for your help!
Stefan



Replies:
Posted By: Oleg
Date Posted: 08 June 2011 at 5:36am
Hi,

Yes, please add
CommandBars.Options.UseSharedImageList = False
before load images.


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



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