On The Insider: Hot Pics: 2008 Victoria's Secret Show

Reduce repetitive formatting for Access objects

Tags: screenshots, Access, Technique, Box, Database, Microsoft Access, Window, Control, Toolbar, Property, Form, Storage, Databases, HARDWARE, Enterprise software, DATA MANAGEMENT

  • Save
  • Recommend
  • 0

Creating a custom control

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:
  1. Open a blank form in Design view.
  2. Insert a text box control. Most likely the default background color is white, but it doesn't matter.
  3. 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.
  4. Click the Properties button. Notice that the resulting window's title bar identifies the current control as the Default Text Box.
  5. 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.
             

What do you think?

See more TR Photo Galleries TR Gallery Newsletter signup

All-in-One Printers

advertisement
Click Here