Skip 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.

Zoom Status

Featured Replies

I am trying to create Zoom In and Zoom Out buttons. Is there a way to get the Zoom status of a the current layout. I am only wanting to zoom down to 75% and up to 200%. Is this something that is easy and I am missing it. Thanks for any help.

Brian

There doesn't appear to be a Status(CurrentZoomLevel) function, at least on v5.0.

Perhaps you could have a button for each zoom level you want available (i.e. 75%, 100%, 150%, 200%). That should work until FMP adds that Status function.

In ScriptMaker, I saw a "Set Zoom Level" function under "Windows." I've never used it, but it seems to allow you to set zoom levels. Let me know what you find out.

Thanks

Ken

Hi Brian,

YES, you can create 'buttons' to set the zoom levels to a variety of settings.

One way to do this: add 75%, 100%, and 200% buttons to your layout. These are pretty straight forward. Just be careful to put the buttons in the upper-left portion of your layout, or your users won't be able to find them.

Another way: create a script that will 'toggle' to 75%, then 200%, then back to 100%.

IDEA:

Create two buttons "Reduce" & "Enlarge". Create two corresponding scripts that will determine the current setting, then change the zoom level 'down' to 75% or 100%, or change the zoom level 'up' to 100% or 200%.

Hope this helps...

Bob Kundinger

  • Author

Bob,

"Create two buttons "Reduce" & "Enlarge". Create two corresponding scripts that will determine the current setting, then change the zoom level 'down' to 75% or 100%, or change the zoom level 'up' to 100% or 200%."

Sounds like a great Idea but how do I determine what my current Zoom setting is. That's my problem. I want to be able to use just a Zoom Up and Zoom Down button. Multiple zoom buttons are out of the question, I'm running out of screen realestate.

Thanks for your help,

Brian

Hi Brian,

To use "Reduce" and "Enlarge" buttons, you will need to create scripts for each. You will also need a 'global' field in your current file that will hold the current setting. If you are using a "Prefs" file, you will need a field to hold the 'users' zoom pref.

To make it easier for you to understand. And, so I don't have to write out a lengthy description, I will send you a small sample file "Zoom.fp5". It was created in FMP 5.5.

It will open in a 'locked' mode. To open the file in an 'unlocked' mode, you will need to close the file. Reopen the file with the 'Option' key (Mac) or 'Shift' key (WIN). When prompted, enter "A" as the password.

Click the buttons... View the 'Define Fields'... View the 'ScriptMaker' scripts... View the 'Access Privileges'...

You will see how I did this. Enjoy!!!

Bob Kundinger

  • Author

Bob,

Thanks for the help. This is going to work great. I was trying to make it to complicated. It would still be nice if FMP would create a ZoomStatus.

Thanks for the Help!!!!!

Brian

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.