Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - [solved] Can you use different width Icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved] Can you use different width Icons

 Post Reply Post Reply
Author
Message
rmcmanamy View Drop Down
Groupie
Groupie


Joined: 02 September 2009
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcmanamy Quote  Post ReplyReply Direct Link To This Post Topic: [solved] Can you use different width Icons
    Posted: 12 April 2010 at 12:50pm
I have a case where I want a split button popup control that has an icon that is 96 wide x 24 tall where the rest of the toolbar icons are 24x24.  Is this possible at all?  If I set the width of the split button it doesn't make the icon any bigger, it just leaves a bunch of empty space.
 
VB6 with ActiveX Command Bars 13.3.1
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0

Back to Top
rmcmanamy View Drop Down
Groupie
Groupie


Joined: 02 September 2009
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcmanamy Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2010 at 4:52pm
Stupid, Stupid, Stupid me.  We had set the return value wrong for the control we were adding.  If you do it right you can just use the SetIconWidth for the specific control.
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0

Back to Top
rmcmanamy View Drop Down
Groupie
Groupie


Joined: 02 September 2009
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcmanamy Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2018 at 11:03am
In case anyone is having problems with Icons Not Displaying Properly when you try to set the Width to a larger width then the default Codejock has had a bug in the 18.2 and other releases that will shrink the height instead of making the control wider.  The last version that it worked properly in is 17.3.0 that I know of.
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0

Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2018 at 1:55pm
Hello,

We have already fixed drawing non square icons in CommanBar/Ribbon for next release v18.3 which will be soon.

Regards,
 Oleksandr Lebed
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.203 seconds.