TextColorRemove()

Category: Text Formatting

Syntax: TextColorRemove ( text {; RGB ( red; green; blue )} )


Parameters:

textAny text expression or text field.

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.

Data type returned: Text

Description:

Removes all font colors in text, or removes instances of a specific font color as an optional parameter, leaving others unchanged.

Note that text formatting options will not be applied if the data type that is returned is something other than text.

Examples:

Function

Results

TextColorRemove ( "This should be boring monochromatic stuff" )

Returns This should be boring monochromatic stuff without a color specified; it will then adopt whatever default text color is set for the layout object in which it is displayed.

TextColorRemove ("No More Red Eye"; RGB(255;0;0))

Returns No More Red Eye without the specific red indicated by RGB (255;0;0), should there be any applied within the text.








FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

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