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.

changing icon or graphic

Featured Replies

I found this file in another post, but I did not want to hijack the post for my own question. How does the graphic change when the user clicks on it. This is a feature of FM that I've not yet figured out, yet I see it everywhere. This must be something simple.

Thanks ahead for answers.

LockIndividualFields.fp7.zip

There's several ways to achieve this effect. In this case, the developer used a script and a font called WebDings. When you click on the field (which is also a button) a script runs setting the field to either 0 or 1 (depending on what the value was) and the WebDing font shows that number as a open or closed lock.

  • Author

I see...so that "picture" is actually a single character returned with a particular font. That sounds efficient as opposed to loading up a solution with a lot of large graphics. My eyes are now opened to a lot of possibilities and I think I can figure out that script now.

If I did want to use a particular graphic (such as a bmp), how do I achieve a similar effect (i.e., the picture changing when someone clicks on it)?

You'd need the pictures you wanted stored somewhere, a global container field is the simplest (though loading global variables on start up or using a non-global field could work depending on the solution).

Then it's all in the scripting. Click on the button/field and run a script that checks the current value of the field and then sets the field to the appropriate global container.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.