Solved

How do I set the background colour of a form page in MS Access 2010 ?

Posted on 2015-02-08
8
1,736 Views
Last Modified: 2015-02-08
Hi,
I have an Access 2010 database form made up of 3 pages on which are a mix of controls - combo boxes, text boxes, labels etc.

I want to change the colour of the background behind these controls from their current white to something else. However, I can't find a 'Back Color' property for a page.

How do I do this ?
Thanks
Toco
0
Comment
Question by:Tocogroup
8 Comments
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40596747
That's the DetailSection:

Me.Section(acDetail).BackColor = somecolour

/gustav
0
 
LVL 84
ID: 40596750
Or you can "select" the detail section in Design view, and set the BackColor in the Properties dialog:

Set Detail Backcolor
0
 

Author Comment

by:Tocogroup
ID: 40596839
I've attached my example as a screenshot JPG.

Changing BackColor only changes the form background. How do I change the background of the pages themselves so the controls remain white but the space around them is set to the colour of my choosing ?
Example-Access-form-page.jpg
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 40596855
try changing the Alternate Back Color too.
0
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.

 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 40596866
There's no color setting for individual tab pages.

On option is to set the backstyle property of the whole tab control to transparent, and place a colored rectangle behind it.
0
 

Author Comment

by:Tocogroup
ID: 40596884
Hmmm ? Alternate Back Color didn't make any difference and I couldn't find the backstyle property for the tab control.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40596889
Put a full-size rectangle on each tab page:
Tab1Tab2/gustav
0
 

Author Closing Comment

by:Tocogroup
ID: 40596897
Ah ! I've got it. I've found the BackStyle property. I was right-clicking the actual tab, not the background.
Thanks to everyone who offered a solution.
T
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

914 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

22 Experts available now in Live!

Get 1:1 Help Now