Solved

How do I bold text when a tab is selected?

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

910 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

16 Experts available now in Live!

Get 1:1 Help Now