Greetings Filemaker denizens.

I'm working in FM 8.5, trying to ensure that text pasted into a text field
is stored as 11 pt Verdana.

The text originates from a variety of sources, such as websites, and
consequently, often has ransom note overtones.

My initial thinking was to use an auto-enter calculation using
TextFormatRemove(fieldname) to strip out existing formatting from the text.

That works up to a point, but this approach also kills any subsequent edits
made to the field contents (such as making some words bold).

So why not use an auto-enter calc to set the text to 11pt Verdana? This is
where I'm coming unstuck. I know I can specify the typeface, OR the size,
but I can't figure out how to specify BOTH the typeface AND the size.

I've hunted around for an example of a custom function that might do this,
but I'm not making much headway.

Can anyone point me in the right direction?

Thanks

John Perrin

Reply via email to