Sometimes text within a field has had formatting applied to it (color, bold, font, size, etc.). Formatting applied to text within a field will override field formatting applied to the field as a whole when in layout mode. It's possible to create conflicting formats by creating one format for a field object in Layout mode, and a contrasting format for field data in Browse mode. Here is how FileMaker Pro resolves text formatting conflicts:When you format a field in Layout mode, the formatting affects only the appearance of that particular occurrence of the field object.When you format field data in Browse mode, this formatting is stored with the data, and you see it in any layout that displays that field. Field data that is formatted in Browse mode takes precedence over data formatting in Layout mode. For example, if you format field text as Bold in Browse mode, then switch to Layout mode and format the same field as Plain Text, the text will continue to display as bold.
It is often desirable to remove this formatting in order to make the text in the field comply with the field's formatting.
The easiest way to achieve this is to use the TextFormatRemove function.
This removes all text formatting from text in a single action. All fonts, styles, font sizes, and font colors are removed from the specified text.
The following methods show how to implement these functions: