Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Setting Button Size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting Button Size

 Post Reply Post Reply
Author
Message
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Topic: Setting Button Size
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2006 at 8:06pm

Hello,

call .Options.SetIconSize False, 20, 20

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.059 seconds.