Справочник Пользователя для Filemaker Pro 8.5 Advanced DE CD Box TH333D/A
Модели
TH333D/A
Chapter 13
|
Text formatting functions 193
Data type returned
text
Description
Changes the color of text to the color specified by the RGB function.
Note
Text formatting options will be lost if the data type that is returned is something other
than text.
Examples
TextColor(“Plaid”;RGB(255;0;0)) returns the word
Plaid
in red.
TextColor(“Plaid”;RGB(0;255;0)) returns the word
Plaid
in green.
TextColor(“Plaid”;RGB(0;0;255)) returns the word
Plaid
in blue.
TextColor(“Plaid”;RGB(0;0;0)) returns the word
Plaid
in black.
TextColorRemove
Format
TextColorRemove(text{;RGB(red;green;blue)})
Parameters
text - any
RGB(red;green;blue) - any integer number from 0 to 16777215 obtained by
combining the red, green, and blue values (each ranging from 0 to 255) to represent a
color
Parameters in curly braces { } are optional.
Parameters in curly braces { } are optional.
Data type returned
text
Description
Removes all font colors in text, or removes the font color specified by the RGB function.
If you don’t specify a color, all of the text displays in the default font color that was set in
Layout mode for the field. When the font color is specified by the RGB function, only the
Layout mode for the field. When the font color is specified by the RGB function, only the
specified font color is removed from every portion of the text displayed in that color and
these same portions of the text are then displayed in the field's default font color.
these same portions of the text are then displayed in the field's default font color.
Note
Text formatting options will be lost if the data type that is returned is something other
than text.