Link to home
Start Free TrialLog in
Avatar of Tocogroup
TocogroupFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

That's the DetailSection:

Me.Section(acDetail).BackColor = somecolour

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

User generated image
Avatar of Tocogroup

ASKER

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
try changing the Alternate Back Color too.
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hmmm ? Alternate Back Color didn't make any difference and I couldn't find the backstyle property for the tab control.
Put a full-size rectangle on each tab page:
User generated imageUser generated image/gustav
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