Changing the font of a selected tab

  • Thread starter Thread starter Mike
  • Start date Start date
You are very limited in the tab control. You can change
all the tabs to bold, but can not change the color.


Chris Nebinger
 
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
 
Back
Top