Tab control color ?

S

SpookiePower

As I have read then it should not be possible to change the
color of the tab control. But is seems to be possible to set
the BackStyle = Transparent so that the tab control should
get the same color as the form. But nothing happends even
if I set BackStyle to Transparent or Normal. Still the same
"white" color on the tab control.

How can this be ??


www.photo.activewebsite.dk
 
S

Stephen Lebans

See:
http://www.lebans.com/tabcolors.htm
Tabs.zip is an MDB containing a class to enhance the standard Access
TAB control in order to allow for:

1) Tabs of any color

2) Rotated Text

Notes:

You must set the Tab controls TAB Fixed Height and Width properties

You must set the Individual Tab pages TAG property to whatever color
value you desire.



History

Version 1.6

Added support to allow for the coloring of just the Current/Active
TABS and not the background of the Tab control

Version 1.5

Fixed Bug under Windows NT or higher and Color depth set to 16 bits.
Tab. Added sample Form with minimum implementation code.

Version 1.4

Added code to auto select Tabs as user passes Mouse above the Tab.
Final adjustments to logic to size Bitmaps to exactly match preset
dimensions of Tab pages. Cleaned up code. Just need to remove a few more API
declares and the code is clean!


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top