Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

When I create a FileMaker solution for a variety of users, I usually provide a button that toggles window zoom level between 100% and 150% to account for screen resolution and user preference.

Part of the motivation for creating my own zoom button (and locking the FileMaker zoom button) was that some scripts needed to know the current zoom level. The only way I found to do this with FileMaker 8 and earlier was for a script to set a specific zoom level and record that level.

When I discovered FileMaker 8.5's new Get ( WindowZoomLevel ) function, I was tempted to remove my zoom button and let users click FileMaker's buttons.

However, I quickly realized that my layouts wanted the window automatically resized to layout size. I could do that if there was a way to automatically detect zoom, e.g., something analogous to On Open and On Close. I don't see any way to do this with vanilla FileMaker. Is there a plug-in that will trigger a script on zoom?

Posted

I'm not sure I follow you, but if you have a script:

Go To Layout[MyLayout]

Adjust Window [Resize to fit]

Your window will be adjusted to the layout size.

BTW, I include Up and Down zoom buttons on my layouts that adjust the zoom level and then resize to fit.

Posted

Right now my similar hand-crafted zoom buttons set a new zoom level and adjust the window to fit the layout.

My goal is to (1) eliminate my zoom buttons, (2) let the user click FM's zoom buttons, and (3) instantly detect the zoom change and adjust the window size.

FileMaker really should be providing some hook for this because manually clicking the FM zoom buttons should be followed by resizing the window is many/most situations.

This topic is 6661 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.