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 Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information