Solved

How do I bold text when a tab is selected?

Posted on 2013-01-21
4
494 Views
Last Modified: 2013-01-21
I am trying to visually enhance a tab when it's  selected (pressed).

 I would like the font for that tab to change to Arial Black upon receiving focus (pressed).

I can't seem to find which property sheet entry
would achieve this display on focus?

Do I have to build a procedure to achieve this effect?

Bold selected tab?
0
Comment
Question by:geekmee2
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 250 total points
ID: 38801442
You cannot do this in the standard Access tab control.  Any formatting you set applies to all pages.

If your aim is to distinguish pages more clearly, then you can create different coloured backgrounds for each page but this does not affect the tabs.

To do this you add a rectangle control to the page, the rectangle should be the full size of the page.  Set its background colour to what you want and then use the SendToBack option to put it behind the controls.  So you can use a different colour for each page.
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 38801762
While it seems that you can't change to bold there is apparently a class available that will change the color.
0
 

Author Comment

by:geekmee2
ID: 38802470
Thanks.  You saved me a lot time.
0
 

Author Closing Comment

by:geekmee2
ID: 38802478
Thanks for offering an alternative solution.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This is about my first experience with programming Arduino.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now