Reduce repetitive formatting for Access objects
Creating a custom control
If a control's default formats aren't adequate, you can change the default. There's a trick to the process, and it's not easy to discern. But it's easy to implement once you know how. Let's apply this trick to change a control's default background color:
- Open a blank form in Design view.
- Insert a text box control. Most likely the default background color is white, but it doesn't matter.
- To change the default background for subsequent text box controls, click the Text Box control in the Toolbox, but don't click inside the form.
- Click the Properties button. Notice that the resulting window's title bar identifies the current control as the Default Text Box.
- In the Properties sheet, change the Back Color property to any color other than the current color. (Click the Builder button to display an easy-to-use palette.) At this point, you can change as many properties as necessary.











