HIghlight name/caption of active Tab page

A

Amit

Windows XP, MS Access 2000
===========================
Hi,

I was wondering if there is any way to highlight the NAME
(or CAPTION) of the active tab page on a form when viewing
it in Fprm View? Maybe change the color, or make it appear
Bold, or something to that effect.

Some of the forms have 8-10 tab pages, and I thought it
would be more readable if the name/caption of the current
tab page was somehow made to stand out from the rest of
the names.

Thanks for any help/pointers.

-Amit
 
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!

Version 1.2

Enhanced Color props. Cleaned code some more.

Version 1.1

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

--

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