A straightforward solution is to not use the TAB control's built in TABS
but create your own from CommandButton or TextBox controls. This will
give you more control over the appearance of the TABS. It's really not
much code to simulate the TAB interface.
Alternatively 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
--
HTH
Stephen Lebans http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
Thanks for the advice. I decided to use the code from
your site. Everything is fine except for the background
color. I can't seem to figure that out
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.