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.

Layouts and screen resolution

Featured Replies

In Filemaker 13 I thought there was going to be an easier way to determine screen resolution and automatically resize accordingly. I have layouts that are designed for different resolutions. I suppose I can use a Get function to see what resolution is used on startup & point to a specific layout for that device (i.e. desktop, iPhone, iPad, laptop). BUT I thought in 13 there was an easier way so the layout auto resizes.

 

Any help or explanation would be greatly appreciated.

 

Thank you!

There are 3 features in FileMaker 13 that might be worth using in your handling of multiple layouts for different devices:

 

The Get ( Device ) function can tell you what kind of device is being used:

 

Choose ( Get ( Device ) ;
/* unknown */ "unknown" ;
/* Mac */ "Mac" ;
/* Windows */ "Windows" ;
/* iPad */ "iPad" ;
/* iPhone/iPod Touch */ "iPhone/iPod Touch"
)
 
We could achieve this same effect already with a combination of Get ( SystemPlatform ) and Get ( ApplicationVersion ) in 12, but now that FileMaker Go 13 is a universal app, this function is necessary to distinguish between iPhones and iPads.
 
The Get ( WindowOrientation ) function can tell you if the window is vertical or horizontally oriented:
 
Choose ( Get ( WindowOrientation ) + 2 ;
/* landcape left */ "landscape left" ;
/* landscape right */ "landscape right" ;
/* square */ "square" ;
/* portrait */ "portrait" ;
/* portrait upside down */ "portrait upside down"
)
 
We could partially do this in 12 by comparing Get ( WindowWidth ) and Get ( WindowHeight ), but this function can distinguish between different home button positions on iOS devices, which is new.

 

The OnLayoutSizeChange script trigger runs whenever the window is resized, like when an iPhone or iPad is rotated. This could be used to switch to a different layout for a different orientation. We could achieve a similar effect with an OnTimer trigger, but that didn't work as instantly, and could become annoying as users try to perform operations that randomly don't work because the OnTimer triggered script was running.

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.