March 24, 201510 yr I have one desktop application that does more than I want to show or allow on iphone or ipad process used remotely. I tried Get (application) but when logging in using my iphone... shows still desktop layouts. I want to start the app the same.. but go in a different direction than the desktop, or the Ipad... do specfic and less.. that that works I understand I can set a different layout templates to use for these devices... for some reason I haven't found the answer ,, need more info thkx Rod
March 24, 201510 yr Hey Ya, good question. Get(application) is right but is typically wrapped in pattern count Case( Patterncount(get(application);"iPad") for iPad detection; go to layout ... ; Patterncount(get(application);"go") for iPhone detection; go to layout ... ; Go to desktop layout ) The starter solutions all use this multi layout format if you want to see a working example
March 24, 201510 yr Our sponsor RCCoulting has a file you may want to look at called FMgo Training Tool (it’s Free) Lee
March 24, 201510 yr Yes, Get(Device) originated in FM Pro 13. I think your going to want to set your File Options to run a script OnFIrstWindowOpen that includes some conditional steps: If [PatternCount( Get(ApplicationVersion); "Go_iPad")] Go to Layout [iPad layout] else if [PatternCount (Get(ApplicationVersion); "Go")] Go to Layout [iPhone layout] else Go to Layout [Desktop layout] end if ...or something similar.
March 24, 201510 yr I tried get (device) must be a FM 13... tried FM12 i am still on for now Sorry, I didn’t notice your version 12.
March 24, 201510 yr Author thanks Nuos and Mathew I am using FM12 still! ( can't move to 13 until i can figure another problem with screens between the versions) I have tried the get Pattern Case.. method When I log via iphone.. don't have a ipad yet, using FM Go.. my screen still uses the desktop layout? FM adv on my desktop, logging on using FM GO on my iphone thanks for the looks
March 24, 201510 yr Maybe a dumb question, but have you designed a completely new layout for the iPhone? This is in response to your first post. Creating a new blank layout with a phone template and copying the desktop layout objects into it will not create a different layout.
Create an account or sign in to comment