Solved

How do I bold text when a tab is selected?

Posted on 2013-01-21
4
532 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 46

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

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

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