Solved

Can i set the font weight to bold on a tab control when it is selected?

Posted on 2009-05-19
4
261 Views
Last Modified: 2013-11-28
Hi Experts,

Can you set the tab control font to bold when that particular tab is selected?  Or is there anything you can do to help the user know they are on that tab?  I have tried several things, but nothing is working so far.  

For example, in the click event of a tab i put:

me.Tab1.FontWeight=Bold

Nothing happened....i've put other stuff, like trying to change the color:
me.Tab1.FontColor=RGB(239, 211, 210)

but nothing happened.  Help?? It  doesn't have to be anything fancy but if i can do something to distinguish between what tab is being accessed it would be great. Thanks :-)
Laura
0
Comment
Question by:linbayzak
4 Comments
 
LVL 84
ID: 24426782
Not that I'm aware of. 2007 does "highlight" the current tab, and places the small colored bar at the top. That's normally sufficient for users to be able to track which page they're on.
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 250 total points
ID: 24428477
lin,
here is an example of what i did on one of the application i just finish
Database2.mdb
0
 
LVL 3

Assisted Solution

by:DK_User
DK_User earned 250 total points
ID: 24430915
You cant change tab font, but you could do some trick involving pictures.
I've attached a test where you can see a possibility.
Save the attached bmp images directly on C:

It's not especially fancy coded but it does the trick:-)


Test2.mdb
closed.bmp
open.bmp
0
 

Author Closing Comment

by:linbayzak
ID: 31583213
Thanks, both of these would work.  I appreciate your help.  This is for a doctors office and there are so many tabs, the nurses were getting lost on which tab they had open.  I really appreciate your help.  

Laura
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question