Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Icons in Ribbon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Icons in Ribbon

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


Joined: 26 January 2007
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote lexicon Quote  Post ReplyReply Direct Link To This Post Topic: Icons in Ribbon
    Posted: 30 April 2007 at 11:11am
I can't understand how the icons work in ribbon sample
Where are they stored and how they're appear (i mean which command loads them)
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2007 at 10:47am
Just add a CJ ImageManager (similar to ImageList).  Then add the icons to the image manager, giving them each a unique ID.

Then, when you create the buttons on the Ribbon, give the button id the same id as the corresponding icon.

Lastly, set the icons property of your CommandBars control = icons property of the imagemanager like so:  CommandBars.Icons = imCommandBar.Icons
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.031 seconds.