wsturdev
asked on
What is the back color of a tab control
Does anyone know the numeric value of the back color of a standard tab control? My interest is not in trying to control the back color of the tab control, just to know what color it IS.
I have a control I want to place on a tab that cannot be transparent, so I want to match its back color with the color of the tab control.
I have a control I want to place on a tab that cannot be transparent, so I want to match its back color with the color of the tab control.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
-2147483633 is not really a "color" per se.
it means that access is using one of the colors from the Windows color scheme. Whatever that "thing" is in windows, your tab control will be that color. It's not an absolute color.
it means that access is using one of the colors from the Windows color scheme. Whatever that "thing" is in windows, your tab control will be that color. It's not an absolute color.
ASKER
Actually, it appears both -2147483633 and 13160660 produce exactly the same color! You get the points after all...
Thanks.
Thanks.
Well, you can't change the color in Access. It is controlled by your color settings in Windows. Change those color settings and your tab color will change also.
ASKER
Understood. The point of the question was only to know what the color was so I could match it elsewhere, not to be able to change it. Probably none of my users have any idea of how to change the Windows color settings, so it is not really a concern that the underlying system colors might cause my matching to go awry.
yep. It ticks me off that I can''t control the backcolor on that thing. I match my forms to the tab control, then a user fires up a new color theme and it all turns to crap.
ASKER
I did an Alt-Print Screen and pasted the picture into Paint. Then I took the Eye Dropper tool and grabbed the color. Then I edited the color to get the Hue, Saturation, etc. Then, armed with those numbers, I went into Access and in the color dialog, selected Customize and recreated the color using the Hue, Saturation, etc.
I feel so dense!! I have been unable to figure out how to do this for about 6 years!
Sorry - can't give you the points!