TextFont()

 <  Day Day Up  >  

TextFont()

Category: Text Formatting

Syntax: TextFont ( text; fontName {; fontScript} )

Parameters: text ”any text string or expression that returns a text string; fontName ”any font name available on the system. Must be enclosed in quotation marks. fontScript ”the name of a character set (for example, Cyrillic, Greek, Roman). This is an optional parameter; quotation marks should not be used around the script name. Parameters in curly braces {} are optional.

Description: Changes the text font to the specified fontName and optional fontScript . Font names are case sensitive.

If no matches for the specified font and script exist, FileMaker first looks for the font script and associated font in the Fonts tab of the Preferences dialog box. If the script is not specified in the Fonts tab, the TextFont() function uses the default font for the system. This font script might not be the same as the specified script.

A list of font scripts is available in the online help system.

Examples:

 

 TextFont ("testing 123" ; "Courier") 

Results in the string testing 123 in Courier font.

Comments:

When TextFont() is used as part of the definition of a calculation field, the calculation should be set to return a text result. Text formatting options are lost if the data type returned is anything other than text.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net