1 Reply Latest reply on Apr 15, 2010 3:24 PM by philmodjunk

    Locking fonts and text formatting (including colors and sizes) in fields

    precociousninja

      Title

      Locking fonts and text formatting (including colors and sizes) in fields

      Post

      Is there a way to lock fonts in fields so when you copy/paste into the field it will automatically put text in the preferred fotmatting?

       

      I saw this post, but the solution Mr. Vodka gave seemed very vague: http://forum-en.filemaker.com/t5/Using-FileMaker-Pro/Can-I-lock-the-fonts-in-a-field/m-p/22989/highlight/true#M17512

       

      Could someone offer a solution to this or elaborate on on what Mr. Vodka means in his reply?

       

      Thanks,

       

      pn

        • 1. Re: Locking fonts and text formatting (including colors and sizes) in fields
          philmodjunk

          Mr_Vodka's suggestion is exactly how I would do this.

           

          Here's an example:

           

          Let's say I want entered text to always be bold face...

          Find the field's definition in Manage | Database | Fields and double click it.

          Select the Auto enter tab Click the Calculated Value CheckBox Enter this expression: TextStyleAdd ( Self ; Bold )

          After clicking OK to dismiss the specify calculation dialog, clear the "Do not replace existing value..." check box.

           

          For more text formatting options and functions, look up Text Formatting Functions in the help system.