Development Guide
Table Of Contents
- Chapter 1 Introducing FileMaker Pro Advanced
- Chapter 2 Creating database solutions
- Chapter 3 Customizing database solutions
- Chapter 4 Debugging and analyzing files
- Chapter 5 Developing third-party FileMaker plug-ins
- Appendix A Feature comparison of the runtime application with FileMaker Pro
- Index
Chapter 3
|
Customizing database solutions 27
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" />
Important 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 X platforms.
5. Change the values of other elements and attributes.
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” />
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.
7. Scroll down to the next FMTHEME element and repeat these steps to change the THEMENAME value
and other elements.
8. Save the file in text format with the filename extension .fth in the Themes folder.
Each new THEMENAME value will appear in the New Layout/Report assistant as a Layout Theme
option.
9. In FileMaker Pro Advanced, choose Layouts menu > New Layout/Report to use your theme.
Follow the instruction in the New Layout/Report assistant. Names of custom themes appear as options.
The third panel presents you with a list of themes to select from.
If your new themes don’t appear in the New Layout/Report assistant, you might have made a syntax
error.
Requirements for theme files
Every theme file must begin with an XML-document processing instruction that declares it as an XML
document using the XML
1.0 specification. In addition, an XML document for a layout theme must contain
the <FMTHEMES> and </FMTHEMES> start and end tags for the file. This FMTHEMES root element can
contain one or more FMTHEME elements.
For more information on theme elements and attributes, see Help.
Minimum elements required for a theme file