Theme Office2013 - Group caption font |
Post Reply |
Author | |
minione
Newbie Joined: 24 March 2016 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 06 September 2017 at 8:51am |
Hello,
after changing the theme from Office2007 to Office2013, I cannot set the font property (Font name, size, bold) of the caption text in ribbon group any longer. RibbonBar.RibbonPaintManager.CaptionFont.Name = "Verdana" RibbonBar.RibbonPaintManager.CaptionFont.Size = 10 RibbonBar.RibbonPaintManager.CaptionFont.Bold = True RibbonBar.RecalcLayout I'm using Xtreme SuitePro ActiveX 18.0.1 and VB6 IDE. Does anyone have any idea how to make this work? Thanks very much Max |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Max,
This happens because markUp Ribbon's themes (Office2013, 2016, VS2012, VS2015) don't use RibbonBar.RibbonPaintManager.CaptionFont to change font. This variable used only for Resource ribbon themes like Office2007 and 2010. I can't fix this because markup themes use different drawing system which independent from resource themes. You can try edit XAML files (RibbonGroupNormal.xaml, RibbonGroupHighlighted.xaml) in Office2013.dll
Regards, Oleksandr Lebed |
|
minione
Newbie Joined: 24 March 2016 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Hi Oleksandr,
Thank you very much for your reply. I have decided to stay with the current Resource ribbon theme Office2007 which means less effort for me. Anyway, I will try your tips as well. Regards, Max |
|
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 |