Missing CommandBar Icons (Solved) |
Post Reply |
Author | |
meaningoflights
Groupie Joined: 27 October 2007 Status: Offline Points: 35 |
Post Options
Thanks(0)
Posted: 16 July 2008 at 10:52pm |
Hi all,
This troubled me for ages and I couldn't see the solution here, so I thought I'd post my findings: PROBLEM: -------------- I created a CommandBar with 5 buttons and the icons didn't show using this method: CommandBars.Icons.LoadBitmap App.path & "\Styles\SmsSettings.png", _ Array(ID_NewSMSAccount, ID_CheckCredits....), xtpImageNormal CAUSE: -------------- The png image was 1 pixel too skinny!!! SOLUTION: -------------- Make image widths exact multiples of 32pixels. ps. I wonder if something like that is preventing a refresh as per: BUG (Repaint/Refresh problem) https://forum.codejock.com/forum_posts.asp?TID=10983 |
|
Jeremy Thompson (MCSD)
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Thanks for sharing.
Yes, if ImageManager can't determine Image Size it just do nothing :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |