Locked lesson.
About this lesson
Switch between different themes and customize a theme.
Exercise files
Download this lesson’s related exercise files.
13.02 form-themes - Exercise.docx43.3 KB 13.02 form-themes - Exercise solution.docx
77.4 KB TechGurusTicketing31.accdb
1.6 MB TechGurusTicketing31 - Complete.accdb
2.7 MB
Quick reference
Form Themes
Apply a theme to a form and customize it.
When to use
We apply a theme whenever we want to control the overall look and feel of the form or report.
Instructions
Change the Theme
The default theme in Access is 'Office'. Themes not only define the colors in use in the form but also the fonts.
- Open 'frmTicketMaintenance'.
- Switch to Design View.
- In the Form Design tab, in the Themes group, click Theme.
Hover the mouse over each theme to see a live preview.
- Select Ion from the gallery.
Notice the theme applies the new color scheme and also different fonts. If the new font is bigger than the one previously in use, we may need to change the width of some of the fields to accommodate the larger font.
When we select a theme, we can choose a different color scheme from the Colors dropdown without changing the overall theme. We can also select to use a different font from the Font drop-down.
When we select a theme and change the palette and font we are effectively customizing the theme.
- In the Form Design tab, in the Themes group, click Colors.
- Choose the Green color palette.
- In the Form Design tab, in the Themes group, click Font.
- Select Cambria from the gallery.
Saving the Theme
We can save a custom theme and reuse it again later. All custom themes are stored in a default folder location. Do not change this location or the theme will not appear in the Themes gallery.
- In the Form Design tab, in the Themes group, click Save Current Theme.
The folder location will default to Templates/Document Themes.
- Type a name for your theme.
- Click Save.
- In the Form Design tab, in the Themes group, click Themes.
Notice there is a new group called 'Custom' that contains the saved theme.
Changing the Form Header
- Change the Theme to Ion Boardroom.
- Change the Font to Calibri.
- Click on the form header area.
- From the Format tab, in the Control Formatting group, click Shape Fill.
- Choose a light purple color.
- Select the title text.
- From the Home tab, in the Font group, click the Font drop-down and select White.
Changing the Form Background
- Click on the Details area.
- From the Property Sheet, in the Back Color field, click the three dots.
- Choose a light grey color from the palette.
Removing and Applying Borders
Removing a border
- Click on the Category option group control.
- From the Property Sheet, in the Border Style field, click the drop-down arrow and change it to Transparent.
Adding a border
- Click on the RelatedTickets subform in 'frmTicketMaintenance'.
- From the Format tab, in the Control Formatting group, click Shape Outline.
- Select a color and a line thickness.
Review the changes in Form View.
Login to downloadLesson notes are only available for subscribers.