Jump to content
Sign in to follow this  
Donny Limbert

OnLayoutSizeChange & Get (WindowOrientation)

Recommended Posts

I thought I'd post this here since I'm primarily attempting to get this working on an iPhone & FMGO12. I'm trying to run a script during "OnLayoutSizeChange" using the "Get (WindowOrientation)". Basically, if the orientation on the iPhone changes, it should change to the appropriate layout. What am I missing here?

If [Get ( SystemPlatform ) = 3]
	Set Zoom Level [100%]
	Refresh Window []
	If [Get (WindowOrientation) < 0]
		Go to Layout ["iPhone 4 Landscape"]
	Else
		Go to Layout ["iPhone 4 Portrait"]
	End If
Else
	Go to Layout ["Data Entry - MBP"]
End If

Share this post


Link to post
Share on other sites
jbante    140

The OnLayoutSizeChange script trigger and the Get ( WindowOrientation ) function were introduced in FileMaker 13; FileMaker Go 12 does not have these features. Update to FileMaker Go 13.

Share this post


Link to post
Share on other sites

The OnLayoutSizeChange script trigger and the Get ( WindowOrientation ) function were introduced in FileMaker 13; FileMaker Go 12 does not have these features. Update to FileMaker Go 13.

Except if a person has an older device that can't be upgraded to IOS 6. Like me with an iPad 1!

Rick.

Share this post


Link to post
Share on other sites

Boy, an upgrade, I feel pretty dumb about now. That's all it was. I'll never tell how long I've been developing solutions but let's just say my first Mac was a Mac Plus

Share this post


Link to post
Share on other sites

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

Sign in to follow this  

  • Similar Content

    • By NewBoard
      I have a database, which has two printable forms. One has been designed in portrait, and the other in landscape. Both of them are only ever printed using buttons tied to script steps, never manually. I was hoping that there would be some way to specify orientation via the script. However, after some poking around of my own and light Google searching I am thinking this may not be so easy.

      I am able to go into Print setup to change the orientation just fine, however this sets it for the entire database which is not all around helpful. While specifying the options in the print step, I am able to change orientation. For some reason though, this changes the default orientation across the entire database. Not even while running the script, but just specifying it in the options of the script step. So now I'm at a loss.
      If this is not able to be done, redesigning one of the forms wouldn't be that difficult. But if there's a way to do what I'm trying to do, any assistance would be greatly appreciated!
    • By Richard Carlton
      Check out our newly updated video training course for FileMaker Go 16!
      http://learningfilemaker.com/FMGO-16/fmgo16.php
      Most Recent Upload https://goo.gl/Dbn9fm
      Get up to speed with the FileMaker Pro 16 Video Training Course! 
      Top Rated Course by FileMaker Expert, Richard Carlton.  
      http://learningfilemaker.com/fmpro16.php 
      Experience Richard's dynamic and exciting teaching format, while learning both basic, intermediate, and advanced FileMaker development skills. With 26 years of FileMaker experience and a long time speaker at FileMaker's Developer Conference,Richard will teach you all the ins and outs of building FileMaker Solutions.  The course is 50 hours of video content!
      Richard has been involved with the FileMaker platform since 1990 and has grown RCC into one of the largest 
      top tier FileMaker consultancies worldwide. 
      Richard works closely with RCC's staff: a team of 28 FileMaker 
      developers and supporting web designers. He has offices in California, Nevada, and Texas.

      Richard has been a frequent speaker at the FileMaker Developers Conference on a variety of topics involving 
      FileMaker for Startups and Entrepreneurs, and client server integration.

      Richard is the Product Manager for FM Starting Point, the popular and most downloaded free FileMaker CRM Starter Solution.

      Richard won 2015 Excellence Award from FileMaker Inc (Apple Inc) for outstanding video and product creation, leading to business development.

      RCC,FileMaker Videos and LearningFileMaker.com are headquartered in Santa Clara, CA.
      FM Camera in the FileMaker Platform Playlist https://www.youtube.com/playlist?list=PLjTvUZtwtgBQk9D1JG62u4qV5EtCHlb7a

      http://www.rcconsulting.com/
      Please feel free to contact us at support@rcconsulting.com

      FileMaker Video Training -  | FileMaker video training ... FileMaker Pro is simply a powerful software used to create custom apps that work seamlessly across iPad, iPhone, Windows, Mac, and the web
      FileMaker Go is available free on the App Store and runs your FileMaker apps on iPad and iPhone
      Transform your business with the FileMaker Platform
      want all of our free FileMaker training videos? FileMaker Training Videos Channel https://www.youtube.com/user/FileMakerVideos
      When In Doubt, Check This Out | Online FileMaker Videos https://www.youtube.com/watch?v=6DiI5p0lK2w
      A database management system (DBMS) is a computer software application that interacts with the user, other applications, and the database itself to capture and analyze data
      watch a FileMaker training review https://www.youtube.com/watch?v=reoBiKXlv54
      Official site provides the SDK, Developer's Guide, Reference, and Android Market for the open source project
      http://learningfilemaker.com/FIAS.html
      Check out iPhone 6s, iPhone 6, and iPhone SE
      Here is a video introduction to iOS App Training https://www.youtube.com/watch?v=cVxQe_yAshw
      For more free FileMaker videos check out ...http://www.filemakervideos.com
      Download the FileMaker pro 16 & FileMaker GO 16 for mobile devices training videos at http://www.learningfilemaker.com
      Download FileMaker Go 16 video training at http://learningfilemaker.com/FMGO-16/fmgo16.php
      Download FileMaker 16 Full Video Training Bundle at http://learningfilemaker.com/subscription.php
      FileMaker Pro 15 News-What is FileMaker 15-FileMaker Pro 15 Videos https://www.youtube.com/watch?v=gw38m01_RsQ
      FileMaker FLT Buffet Licensing | FileMaker Pro 15 Videos | FileMaker 15 Training https://www.youtube.com/watch?v=q5vdmaOKLk4
      FileMaker News | FileMaker Server 15 Performance Improvements | FileMaker Pro 15 Video Course 40 Hrs https://www.youtube.com/watch?v=BCJ3fOIVMyw
      FileMaker 16 Videos Get up to speed with the FileMaker Pro 16 Video Training Course-FileMaker 16 training.
      FileMaker 15 News | FileMaker Pro 15 Video Course | FileMaker Pro 15 Video Training | FileMaker 15 Videos https://www.youtube.com/watch?v=oRkOY-uXSag
      FileMaker Pro 16 Video Course 50 Hours-FileMaker Pro Videos-FileMaker 16-FM Pro 16 FileMaker 16 Training Videos-FileMaker 16
      Looking for FM Starting Point free software download: http://www.fmstartingpoint.com
      Learn how to use FileMaker to create an app with the FileMaker Training Series
      FileMaker 15 introduction | FileMaker Pro Video Training https://www.youtube.com/watch?v=r2yfRnxPrjo
      FileMaker training review of learningfilemaker.com https://www.youtube.com/watch?v=9JTgI6lupD0

      Please Comment, Like & Share All of Our Videos.
      Feel Free to Embed any of Our Videos on Your Blog or Website.
      Follow Us on Your Favorite Social Media
      Facebook
      Twitter
      Google+
      #WhatisFileMaker16
      #FilemakerPro16Training
      #Filemaker16VideoTutorial
      #FilemakerPro16Videos
      https://www.youtube.com/watch?v=EDeWEYzA7Bg&list=PLjTvUZtwtgBTMCfjM6LLwBAwGf_yXfvd_&index=11
      http://feeds.feedburner.com/9HourFilemakerGo16VideoTrainingCourse-filemakerGo16News-onlineFilemaker16VideoTraining
    • By Gianluca D'Aquino
      Hello there,
      Is there a way to download the mirrorsync link directly on an iPad?
      In my final workflow I'll send the link with the newest version and users will open it directly from the ipad. Is there any integration with even other 3rd parties software to download the file on the ipad and then run it from Filemaker?
      Thanks. 
    • By Lee Brock
      When I share my files to client FM Go 15 iPhone on my home wifi network, it works fine.  At work I'm allowed to access a limited "staff" authorized wifi, where the file share does not seem to work. Even when I repeat the process  (File/Sharing/Share with Filemaker clients) while on the work wifi, my FM Go does note recognize the host.  I do not have any access to the wifi here at work, beyond receiving the signal.  They use a third party admin and have no idea what could be done without engaging with and therefore paying for the troubleshoot call...  
      Thanks for any help.  
    • By Melastudio
      Hello
      Is it possible to use MirrorSinc with an App built with iOs Development Kit?
×

Important Information

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