Developer’s Guide

Table Of Contents
3-2 Developer’s Guide
To modify a theme:
1. Make a duplicate copy of the theme file (for example,
Blue_gold.fth) in the Themes folder.
FileMaker Developer 5.5\Themes\
or
FileMaker Developer 5.5\FileMaker Pro.app\Contents\MacOS\Themes\
2. Rename the copy and include the .fth extension with the new
filename. Keep the new file in the Themes folder.
In order for the New Layout/Report assistant in FileMaker Pro to
display a theme option, the theme file must reside in the Themes
folder and it must have the .fth filename extension.
3. Open the theme file in your text editor.
4. Change the name of a theme by replacing the value of the
THEMENAME element with a new name.
<THEMENAME VALUE="Purple and White Screen" />
Note If your THEMENAME value contains any upper-ASCII
characters, use the HINT attribute to ensure that the theme name will
appear on both the Windows and Mac OS platforms. See “Valid
values for theme attributes” on page 3-7 for information.
5. Change the values of other elements and attributes as desired.
For example, to change the background fill color of the body part in
a layout to a light purple, change the color hexadecimal (hex) value
to #9933CC:
<BODYPART>
<FILL COLOR = “#9933CC” PATTERN = “2” />
See the table in “Valid values for theme attributes” on page 3-7 and
“Finding values for patterns and colors” on page 3-9 for guidelines.
6. Remove any elements that you don’t want to specify. Be sure to
remove the entire single-line or multi-line element including its start
and end tags.
See “Removing elements from a theme file” on page 3-4 for
information.
7. Scroll down to the next FMTHEME element and repeat these
steps to change the THEMENAME value, and other elements as
desired.
8. Save the file in text format with the filename extension .fth in the
Themes folder inside the FileMaker Pro 5.5 folder.
In FileMaker Pro, each new THEMENAME value will appear in the
New Layout/Report assistant as a Layout Theme option.
9. In FileMaker Pro, choose Layouts menu > New Layout/Report to use
your theme.
Multi-line
element
Single-line
element
Attributes