Jump to content
Sign in to follow this  
fireemt1

Layout Help

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

THANKS! It answers my question (not in the fashion I was hoping to hear!) lol... anyways, I'll try that and thanks for the reply.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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