Jump to content
Sign in to follow this  
sfgiantsjo

Script to change font of fields?

Recommended Posts

I need four separate fields to change fonts when "no" is chosen in a value list in a fifth field. Is that possible? Basically I need the other fields to become bold, but using Arial Black vs. Arial works better than bold does.

Share this post


Link to post
Share on other sites

Since you are on a Pre 9 version...

Try an auto-entry calc on the four fields. So for example, on FieldA:

Case ( YourSelection = "no"; TextStyleAdd ( FieldA; Bold; Evaluate ( Quote ( FieldA ) ) )

Make sure that the 'Do not replace field contents' is unchecked.

Share this post


Link to post
Share on other sites

I think they need to change fonts

Case ( YourSelection = "no"; TextFont ( FieldA ; "Arial Black" ) )

Share this post


Link to post
Share on other sites

Ah yes. I dont know why I read that they wanted Bold, when they actually said they didnt want bold. ???

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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