Solved

How do I bold text when a tab is selected?

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

786 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