Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Default hottrack backcolors
posted

 Hi,

 I'll explain the situation briefly:

A form with a ultratoolbarsmanager shows the ribbon which has 1 tab with 2 groups which have several tools.

When a tool in group 1 is clicked it must have the backcolor, backcolor2 and backgradientstyle of the default Office2007 hottrack appearance.

I know how and where to change it but I don't know what the default colors are nor where to find them.

This is what I tried:

tTool.InstanceProps.AppearancesLarge.Appearance.BackColor = tTool.InstanceProps.AppearancesLarge.HotTrackAppearance.BackColor;
tTool.InstanceProps.AppearancesLarge.Appearance.BackColor2 = tTool.InstanceProps.AppearancesLarge.HotTrackAppearance.BackColor2;
tTool.InstanceProps.AppearancesLarge.Appearance.BackGradientStyle = tTool.InstanceProps.AppearancesLarge.HotTrackAppearance.BackGradientStyle;

There must be an easy way to find the value of those properties?