Default background color of controls in a form

M

MikeB

This has been bothering me for awhile.

When I create a form with the forms wizard and I use one of the MS
supplied Form Styles (Sumi), the label boxes and labels for controls
have a purplish background color. This makes the dark blue text in it
nearly impossible to see when one needs to edit the text. It is easy
enough to edit the properties and (re)rest the background color for
the controls, but tedious, since I have to do it for every new control
I put on the form.

Is there a way I can tell Access (or set a property on the form) to
define what the default background color for controls should be?

Thanks.
 
A

Allen Browne

It is not intuitive, but you can set the properties of the objects in the
toolbox.

Open your form in design view.

Open the Toolbox (View menu, or it's on the ribbon in A2007,)

Click the Text box in the Toolbox.

Open the Properties sheet.
Its title reads, "Default Text Box."

Set the BackColor property the way you want it.

Repeat for other controls you care about (e.g. combo.)

Save.

Now when you add a new control on this form, it will get those default
properties.

For info on setting up a template form that affects forms you create in
future, see:
Default Forms, Reports, and Databases
at:
http://allenbrowne.com/ser-43.html
(But that won't affect forms created by a wizard.)
 
M

MikeB

It is not intuitive, but you can set the properties of the objects in the
toolbox.

Open your form in design view.

Open the Toolbox (View menu, or it's on the ribbon in A2007,)

Click the Text box in the Toolbox.

Open the Properties sheet.
Its title reads, "Default Text Box."

Set the BackColor property the way you want it.

Repeat for other controls you care about (e.g. combo.)

Save.

Now when you add a new control on this form, it will get those default
properties.

For info on setting up a template form that affects forms you create in
future, see:
Default Forms, Reports, and Databases
at:
http://allenbrowne.com/ser-43.html
(But that won't affect forms created by a wizard.)

Wow, thanks Allen. That was a fast response.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top