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.

Anyone try the OnLayoutSizeChange script step for transitioning from portrait to landscape in ios?

Featured Replies

Am I correct in assuming this should go a long way towards replacing how things are done now, ie. via anchoring items in the layout to margins so they are stretched in landscape.

 

Are the transitions smooth via the new way?

 

I was wondering why FM haven't included dual portrait and landscape layouts in their starter solutions. 

I'm not 100% sure as I have not gone through each starter solution, but as far as I can tell the starter solutions that were included in FM13 are the same ones that were included in FM12.  If I remember correctly, the OnLayoutSizeChange script step was demo'd in the dev preview session they had going around a month ago.

  • Author

I'm not 100% sure as I have not gone through each starter solution, but as far as I can tell the starter solutions that were included in FM13 are the same ones that were included in FM12.  If I remember correctly, the OnLayoutSizeChange script step was demo'd in the dev preview session they had going around a month ago.

Oh, I see, does that mean if I were part of technet I would be eligible for such a release?

 

James, I am 100% sure that they have 4 news layouts for contacts, content management, invoices and assets. The rest are the same as FM12 and untweaked, which is something of a disappointment. It's like apple releasing ios with conflicting interface designs and, in a way too, philosophies. In these new layouts however they don't use this transition.

fmow,

 

That's correct: use the new OnLayoutSizeChange script trigger, in conjunction with the (also new) Get(WindowOrientation) function, to trigger a layout change when the user rotates between portrait and landscape orientation.  BTW, you can also use OnLayoutSizeChange to switch layouts (or do other things) on desktop, when the user resizes a window beyond the limits that can be gracefully handled by merely anchoring layout objects, thus potentially increasing the overall utility of the new trigger.

 

Re preview software releases, a TechNet membership does not, itself, come with access to preview releases.  After joining TechNet (free) you also have to purchase a FileMaker Developer's Subscription in order to get access to the preview software, in addition to a few other perks.

 

HTH,

 

Mark

  • Author

Done both, thanks!

 

But I 'm still wondering why the starter solutions do not follow this design paradigm, at least the new ones.

Create an account or sign in to comment

Important Information

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

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.