Developer’s Guide

Table Of Contents
Creating custom layout themes 3-9
Specifying default values for themes
FileMaker Pro uses default values to replace attributes that are
invalid or missing. For each theme listed in a theme file, you can
specify whether the default values are determined by the current
layout settings (which change when a user changes them) or by
standard layout values (the same values that FileMaker Pro uses
when creating a file for the first time).
<THEMEDEFAULT VALUE=”CURRENT”/>
<THEMEDEFAULT VALUE=”STANDARD”/>
If you don’t specify a value for the THEMEDEFAULT element in
the theme, FileMaker Pro will use standard layout values by default.
Finding values for patterns and colors
The values for the patterns in the FileMaker Pro pattern palette are
numbered consecutively—starting with the top row and counting
from left to right, where the value for the top left pattern in the palette
is 1, the value for the next pattern to the right is 2, and so on. Five
patterns in the first row can also be defined with words: NONE (= 1),
SOLID (= 2), DKGRAY (= 6), GRAY (= 7), and LTGRAY (= 8).
Note The first pattern (value = 1) is transparent and the second
pattern (value = 2) is solid. For objects with a color fill, be sure to use
the solid pattern.
SIZE
(for the PEN
element)
Thickness in pixels for the
outline of text blocks, field
labels, and field borders.
The value for NONE is “0”
and the value for HAIRLINE
is “-1.”
When applied to field borders,
this pen size also applies to
the line width of an EFFECT
attribute (such as
DROPSHADOW) and must
have a value greater than zero.
SIZE = “0”
SIZE = “-1”
SIZE = “1” through
SIZE = “8”
SIZE = “12”
STYLE Character styles for text in
fields, text blocks, and field
labels. More than one style
can be specified, separated by
commas or spaces.
No error checking is done for
contradicting styles, such as
UPPERCASE and
LOWERCASE.
The PLAIN style value
overrides all other style
values.
STRIKEOUT and
STRIKETHRU values are the
same.
STYLE = “PLAIN”
STYLE = “BOLD”
STYLE = “ITALIC”
STYLE = “STRIKEOUT”
STYLE =
“STRIKETHRU”
STYLE = “SMALLCAPS”
STYLE = “UNDERLINE”
STYLE =
“WORDUNDERLINE”
STYLE =
“DBLUNDERLINE”
STYLE = “UPPERCASE”
STYLE = “LOWERCASE”
STYLE = “TITLECASE”
STYLE =
“SUPERSCRIPT”
STYLE = “SUBSCRIPT”
STYLE = “CONDENSE”
STYLE = “EXTEND”
STYLE = “ITALIC,
BOLD, SMALLCAPS”
This attribute
Is used to describe these
characteristics
And may contain
these values