Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26233

Ribbon tab color MICROSOFT OFFICE 2016

$
0
0
Antonio, of course I'm going to share the customization. These are the changes I've made in my ribbon, I do it using the 2010 style as default: * when defining the Tribbon use a size that fits the heighs of the folder and let no space in the top of them. I use 22 as nTopMargin in the New() method. [code=fw:1bffavop][/code:1bffavop] * in tribbon class I have made several changes, first is reduce ::nLeftMagin and ::hSeparation to 5 so the horizontal gap between folders are minimal. * In the new() method I use this color definitions in the default clause for 2010 style [code=fw:1bffavop][/code:1bffavop] * In the original ribbon class there is a 2px gap in the bottom of the control. I painted it with the color background of the main window. Sorry, but I don't know how to reduce the vertical size of the control and adjust it. So, in the paint method after [code=fw:1bffavop][/code:1bffavop] I added this [code=fw:1bffavop][/code:1bffavop] * In PaintFld() method I changed the Drawtext call, deleting the +2 in the row position: [code=fw:1bffavop][/code:1bffavop] [/list] Regards, José Luis

Viewing all articles
Browse latest Browse all 26233

Trending Articles