Tab fonts in color

  • Thread starter Thread starter Bill Murphy
  • Start date Start date
B

Bill Murphy

Is there a way to change the color of the text on the tab of a tab control?
Ideally, I would like to change the color of the active tab to make it more
apparent to the user which tab is in use.

Bill
 
The only way I was able to change the color of the text was to create a
bitmap image in the text color, such as Navy. The only drawback is you still
need to put a value in the Caption box otherwise the name of the control
will show. I entered the letter 'E'; represents the bitmap image of
Employee's that I created.

Perhaps there are third-party tools that can do this more gracefully.
 
IT would require a slight modification to only highlight(color) the
current TAB but there is a class on my site that allows you to set
colors for the individual pages of the TAB control.
http://www.lebans.com/tabcolors.htmSee:
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



History

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!

Version 1.2

Enhanced Color props. Cleaned code some more.

Version 1.1

Added Color props. Added Degree of rotation prop. Cleaned code.

Version 1.0

First release. Basic functionality


--

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