Strategic use of the layout anchors is a good way.
You can place object outside of the viewable area, and have some object shift/resize using the anchors. Those objects will only be visable in either Portrait or Landscape mode. The resizing of the anchored objects will reveal or hide the objects.
Edit: Here is a video where Matt Petrowsky talks about what I mean ( this is one of his free videos ). Because I didn't explain that very well. LOL
Message was edited by: Joshua Ormond
Thanks for the quick reply, I think I'm more looking at trying to change the layout depending which way it's being held.
If you make the layout for Portrait, when you go to Landscape, the text boxes, etc stay the same size, you can double tap to fill the screen, but makes it a bit messy with the scrolling, also layout in landscape can be better designed that say in portrait.
I guess I was hoping to find a way to automatically change a layout depending which orientation they are in, this way each layout can be custom built to get the best out of the screen space available.
I think there is a way, but I don't have an iPad to test it. So I'm sure someone else will jump in.
But I've seen 2 or 3 layouts that make clever use of resizing...it looks like 2 different layouts, but it is just clever use of the resizing and layering. No scrolling, etc.
I will study the resizing thing a bit more and see how it look, appreciate your feedback, and yes, would love to know if they is a way to change the layout by orientation.
Quick solution now, I will make a button they can use to change ;-)
"Strategic use of the layout anchors" is what we do. Here is a short video of how it works: Layout Rotation in GoZync. And here is another gorgeous example we demoed at DevCon 2011: Yann Liqueur-Salzedo's Slide-A-Block
(Be sure to download the example file.)
If you want to literally change layouts, I believe you need an on-timer script constantly checking the screen width. But as you'll see in Yann's example, you can do amazing things with just one layout.
Hope that helps.
Hello there, lawsowork,
Here's a link to a FileMaker Forum thread about iPad auto-rotation:
It's not the "OnOrientationChange" script trigger we might like to see in a future version of FileMaker, but there's some good ideas there.
To expand on the technique Mr. Josh mentioned...
Here's a link to Yann Liqueur Salzedo's "Slide-a-Block" technique for FileMaker Go (which includes his demo file, "FMConf.fp7"):
And here's links to MightyData's similar blog post, "FileMaker Go - Added Functionality with Anchors" and webinar:
Webinar Recording and Demo File > http://www.mightydata.com/blog/5-techniques-for-building-a-solution-in-filemaker-go-recording/