Print Page | Close Window

Different ICON-Size in CommandBars

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=7238
Printed Date: 02 January 2025 at 9:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Different ICON-Size in CommandBars
Posted By: Lupo
Subject: Different ICON-Size in CommandBars
Date Posted: 25 May 2007 at 9:41am
Hi,
 
I've one CommandBar on my Form and I added two Toolbars.
 
   Set ToolBar = CommandBars.Add("Standard", xtpBarBottom)
   ToolBar.EnableDocking xtpFlagStretched
   Set LanguageBar = CommandBars.Add("Language", xtpBarTop)
   LanguageBar.EnableDocking xtpFlagStretched
 
the ICON-Size of the Toolbar Icons should be 72x72 and the ICON-Size of the LanguageBar  should be 48x48.
 
All Icons are stored in an ImageManager-Control.
 
How can I do this ????
 
Thanks for help.



Replies:
Posted By: Oleg
Date Posted: 26 May 2007 at 2:14pm
Hi,
Guess you tried SetIconSize method?


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


Posted By: Lupo
Date Posted: 27 May 2007 at 10:43am
Hi Oleg,
 
yes, I tried SetIconSize method. But it changed the IconnSize for both Bars.
 
How can I change it individual ?


Posted By: Oleg
Date Posted: 28 May 2007 at 7:15am
Hi,
call it for individual  toolbars:
 
Toolbar1.SetIconSize
Toolbar2.SetIconSize


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


Posted By: Lupo
Date Posted: 28 May 2007 at 9:29am
Thanks Oleg, I did not saw this method.



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