Solved

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

Posted on 2015-02-08
8
1,509 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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 …

708 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

15 Experts available now in Live!

Get 1:1 Help Now