Filemaker Pro 8.5 Educational Maintenance T3 TJ083LL/A User Manual

Product codes
TJ083LL/A
Page of 238
194     FileMaker Functions Reference
Examples
TextColorRemove(“Red Text and Green Text”) returns 
Red Text and Green 
Text
 displayed in the field’s default font color.
TextColorRemove(“Red Text and Green Text”;RGB(255;0;0)) returns 
Red 
Text and Green Text 
with only the pure red font color removed from the words 
Red Text
.
TextFont
Format
TextFont(text;fontName{;fontScript})
Parameters
text - any 
.
fontName - any font name expressed in text.
{fontScript} - the name of a character set that contains characters required for writing 
in the specified language.
Parameters in curly braces { } are optional.
Note  
The fontScript parameter is not enclosed in quotation marks (“ “), and can have any 
of the values listed below in Description.
Data type returned
text
Description
Changes the font of text to the specified fontName or optional {fontScript}. 
Spellings for font names must be correct and are case-sensitive. Text formatting options 
will be lost if the data type that is returned is something other than text.
FileMaker Pro looks for a font that matches the specified font name and font script 
character set. If no matches exist, FileMaker Pro looks for a default font with the font script 
specified in the 
Fonts
 tab of the Preferences dialog box. If this fails, then the TextFont 
function uses the default font for the system script specified in the 
Fonts
 tab of the 
Preferences dialog box. This font might not be the same as the font script provided.
The following font scripts are available:
Roman
Greek
Cyrillic
CentralEurope
ShiftJIS
TraditionalChinese