![]() |
Icons in Ribbon |
Post Reply ![]() |
Author | |
lexicon ![]() Groupie ![]() Joined: 26 January 2007 Status: Offline Points: 46 |
![]() ![]() ![]() ![]() ![]() 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)
|
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |