Jump to content

How to keep field's font


Oldsneekers

This topic is 5427 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I use a certain font type and size as standard throughout my solution. Users have permission to cut and past text from other fields and other sources (eg: web sites, Word documents...) into my solution's fields. I want all the text to look the same. Is there a way to force the field to retain the font characteristics I want despite the formating of the text being pasted in?

I tried, via FM preferences, font locking, etc... but without success. The only other way I see as a solution is have have an "Enter" button that is scripted to format the text. As this would entail a lot of extra scripting (for all the fields involved) I would prefer not to do this but if it's the only way, I'll make the time.

Thanks for all your help, past and future.

Link to comment
Share on other sites

Highlight the Field in Define Fields

Click on the [color:red]Options for the Text Field

Check on the button for box Auto Enter by Calculation

use this calculation

TextFormatRemove ( Self )

Click [color:blue]Okay

[color:red]Deselect the Checkbox

[color:blue]Do not replace existing value in field (if any)

HTH

Lee

Link to comment
Share on other sites

This topic is 5427 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.