Matthew R White Posted December 16, 2011 Posted December 16, 2011 I've got my current Filemaker database set up for A4 sized pages/layouts. I'm trying to build a new layout thats specific to the iPads size horizontally, however I can't seem to do this without changing the page margins throughout the entire database... Any ideas? Thanks
Vaughan Posted December 16, 2011 Posted December 16, 2011 The page size has nothing to do with the way layouts are displayed on screen -- page size only affects printing. Look into FMP's auto resizing layout object feature. It will do what you need.
2ninerniner2 Posted January 30, 2012 Posted January 30, 2012 Howdy Matthew, If you haven't already, perhaps take a look at these two FM Go docs, one ( I can't recall which ) gives the ipad screen dimensions, among a lot of very useful info. http://www.filemaker...development.pdf http://www.filemaker...r_go_121_en.pdf Additionally, one should use separate layouts for the iPad; that way, you can tailor them specifically to the dimensions and contraints of that platform. These would be separate and apart from your current "desktop" screen and print layouts. It's easy to detect and switch to the desired device with a script attached to the File > File Options > When opening this file ... > Perform Script: "Startup Script with IWP and Device Switch" (in my example). Here is what I am using (not the "cleanest", but it works (note that the first "test" is for Web Only account privileges (custom one I set up) - folks with those can only access via IWP) Startup Script with IWP and Device Switch Allow User Abort [ Off ] Freeze Window If [ Position ( Get ( AccountPrivilegeSetName );"Web Only";1;1)>0 ] Go to Layout [ “Menu Web” (cn_etr3_1) ] Else If [ PatternCount(Get ( ApplicationVersion );"iPad") ] Go to Layout [ “Menu iPad” (cn_etr3_1) ] Else If [ PatternCount(Get ( ApplicationVersion );"Go") ] Go to Layout [ “Menu iPhone” (cn_etr3_1) ] Else Go to Layout [ “Menu” (cn_etr3_1) ] Show/Hide Status Area [ Hide ] [Lock] Allow Toolbars [ Off ] Show/Hide Text Ruler[ Hide ] Adjust Window [ Maximize ] Enter Browse Mode Show All Records End If End If This first tests if the user has "Web Only" privileges and if so, then goes to the Menu layout designed for use with IWP. After that, it looks to see if the app version has iPad in it ... if it does, the to the Menu layout designed to fit the iPad; note that all navigation from this menu are to iPad-specific layouts. If it doesn't contain iPad and it contains Go, then it goes to the Menu layout designed for the iPhone / iPod touch; again, with layouts designed to fit the iPhone. If none of these are "true", then it goes the the "regular" desktop version of the Menu layout and does a few other chores. Hope this helps Cheers! Lyle
Recommended Posts
This topic is 4681 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 accountSign in
Already have an account? Sign in here.
Sign In Now