?
Solved

How do I bold text when a tab is selected?

Posted on 2013-01-21
4
Medium Priority
?
555 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 750 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 49

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Introduction to Processes
Suggested Courses
Course of the Month8 days, 4 hours left to enroll

765 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