Print Page | Close Window

Setting Button Size

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=3995
Printed Date: 21 June 2025 at 2:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Setting Button Size
Posted By: LittleJK
Subject: Setting Button Size
Date Posted: 13 April 2006 at 1:38pm

Hi Everyone,

I was wondering if anyone knows how to set the length and width of a button on the commandbar. I've been using vbaccelerator's commandbar which allowed you to set the button width and height but we are transitioning out of those controls to a more stable control..

Thanks




Replies:
Posted By: Oleg
Date Posted: 13 April 2006 at 8:06pm

Hello,

call .Options.SetIconSize False, 20, 20



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


Posted By: LittleJK
Date Posted: 14 April 2006 at 11:01am
Originally posted by oleg oleg wrote:

Hello,

call .Options.SetIconSize False, 20, 20

 

Such a novice with this control but it still doesn't work, it stretches the icon... I want the buttons to be bigger not the icons



Posted By: Oleg
Date Posted: 14 April 2006 at 12:38pm

Hello,

Unfortunatelly buttons size can't be changed.

As workaround change icon size to 20*20 and modify icons to add some transparent borders around.



-------------
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