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

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

Recommended Posts

Posted

Coming from the world of web page design, I was wondering if there is a way to make an object on a layout in a filemaker database center to the window size, whether it is in a small window or maximized. This would be a great help on trying to make something work for cross-monitor resolution problems, whethere someone is using 800x600 or 1024x768. If anyone has any answers to this problem, PLEASE let me know.

Posted

You can use Status(CurrentScreenWidth) to find out what resolution they're using, then switch layouts accordingly.

This means that you need at least two layouts for each "layout" needing this (800 and 1024 are the most common).

Something like:

If [status(CurrentScreenWidth) > 820]

Go to Layout ["List1024"]

Else

Go To Layout ["List800"]

End If

That's about the best you can do. FileMaker objects are pretty much fixed size, unless you do magnification, which may be OK, but likely not.

The higher resolution may need a slightly larger font size, if using small sizes. You may also be able to leave extra fields off the smaller layout, or rearrange closer together.

It's a pain, yes, but you can present well-designed layouts this way.

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