Jump to content

This topic is 3698 days old. Please don't post here. Open a new topic instead.

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
Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

This topic is 3698 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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