Changes the font of text to the specified fontName.
TextFont ( text ; fontName )
text
- any text expression or text field.
fontName
- any font name expressed in text.
text
FileMaker Pro 7.0
Spellings for font names must be correct. Text formatting options will be lost if the field type that is returned is something other than text.
TextFont ( "Plaid" ; "Courier" )
returns the word Plaid in the Courier font.
TextFont ( "Plaid" ; "Arial" )
returns the word Plaid in the Arial font.
TextSize ( TextFont ( TextColor ( MyTable::MyText ; RGB ( 0 ; 125 ; 125 ) ) ; "Courier" ) ; 12 )
returns the text contained in MyTable::MyText formatted as 12pt. green text with the Courier font.