Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3285
  • Last Modified:

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

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
Tocogroup
Asked:
Tocogroup
1 Solution
 
Gustav BrockCIOCommented:
That's the DetailSection:

Me.Section(acDetail).BackColor = somecolour

/gustav
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Or you can "select" the detail section in Design view, and set the BackColor in the Properties dialog:

Set Detail Backcolor
0
 
TocogroupAuthor Commented:
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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
Rey Obrero (Capricorn1)Commented:
try changing the Alternate Back Color too.
0
 
mbizupCommented:
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
 
TocogroupAuthor Commented:
Hmmm ? Alternate Back Color didn't make any difference and I couldn't find the backstyle property for the tab control.
0
 
Gustav BrockCIOCommented:
Put a full-size rectangle on each tab page:
Tab1Tab2/gustav
0
 
TocogroupAuthor Commented:
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now