Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Font change in Browse mode

Featured Replies

I try to find some solution to change font in all fields in Browse mode but have no success.

For several fields Script is OK but for 10 or 20 it's to complicated.

I'll be thankful for any idea.

in a script loop thru each field setting a return separated variable:

$var = List ( $var ; Get ( ActiveFieldName ) )

or use one of the design functions to get all the fields on the layout - or if the fields objects are named.

Then use Set Field By Name to set the field to itself with your desired operation.

GetValue ( $var; $i )

if your in a loop and you increment $i to the current iteration

You may wish to create a utility layout to perform the operation and only include the desired fields.

if it's a onetime thing, export your data then an import cleaned formatted text could also do the trick.

  • Author

Thanks! I'm a bit tired from looping :(

But probably there aren't another way.

  • Author

I wish to write script I use but dismiss Preview and Add Post buttons :(

So-

Layout fields Tab order is set and script is:

Loop

Go to Field (first)

Set Field (first); TextFont ( Field (first) ; [color:red]Font )

GoTo Next field [exit after last}

End Loop

where [color:red]Font is global field with drop down font list and script is triggered from global field.

  • Author

To solve question some time was spent.

Solution is:

Make- Global field "[color:red]Font", Global field "[color:green]Size";

Set- Layout field order;

Determine- First and [color:blue]Last field names and corresponding Table names;

Write script-

Go to Field (First)

Loop

Set Field By Name [Get ( ActiveFieldTableName ) & "::" & Get ( ActiveFieldName ) ; TextFont ( TextSize ( Get ( ActiveFieldContents ); field "[color:green]Size"); Field "[color:red]Font" ; Roman)

Exit Loop If Get ( ActiveFieldName ) = "[color:blue]Last field Name" and Get ( ActiveFieldTableName ) = "[color:brown]Last field Table"

Go to Next Field

End Loop

Script can be triggered from fields "[color:green]Size" or "[color:red]Font" or from both or from...

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.