Page 1 of 1

Tuning our Pro Calendar for FileMaker Go

PostPosted: Sun Jul 25, 2010 1:42 pm
by John Sindelar
Overview.

Our Pro Calendar for FileMaker 10 works great on FileMaker Go with just a few changes. You may want to go further, making buttons larger, etc. but if you have some FileMaker users and some Go users, the following changes should be enough... at least on the iPad. If you plan to use SeedCode on the iPhone you'll likely want to make layouts just for that.

The Mods.

1. Version Check.

Change the calc in the If() statement at the head of our Version Check script to this:
Code: Select all
 Let ( [
$n = Get ( ApplicationVersion ) ;
$required = 11
];
Get(SystemPlatform) ≠ 3 // this is not FileMaker Go
and
GetAsNumber ( $n )  < $required
)


2. Colors Part 1.

The calendar needs a slightly different kind of color object in Go, so edit the script "Load Calendar Graphics" and find the last SetField line where we set the contents of CalendarColorGlob (depending on which version you have there may be a number of steps around this that are disabled).

Delete that SetField (and any steps that have been disabled)

Replace that one SetField with the lines in blue below:

Image

Click here for a lager version.

Make sure you get these lines exactly right, including the different Char numbers, and the misspelling of Arial.

3. Colors Part 2.

Because we want a different color treatment when we're in FileMaker Pro vs when we're on Go, we need to run the "Load Calendar Graphics" each time we start up on Go. Edit the script "Load Calendar Settings - On Startup --- Edit Configuration Here ---" and find the comment "Double check display graphics" toward the end of the script. Change the If() calc following that comment to this:
Code: Select all
 IsEmpty ( CalendarInterface::OverlapColorGlobHorizontal )
or
IsEmpty ( CalendarInterface::OverlapColorGlobVertical ) or IsEmpty ( CalendarRows::CalendarColorGlob )
or
Get(SystemPlatform) = 3 // FileMaker Go


4. Day View Layout

The mods above will get you all set on the calendar except for the day view where the color won't extend all the way across the screen. To fix this, follow the instructions in this video...

Instructions on YouTube

If you haven't edited the calendar tabs before, you might want to read this first: editing the calendar's tabs

Going Further

You may also want to preface the beginning of any print scripts with the little test for FileMaker Go we're using.. Abs ( Get ( SystemPlatform ) ) = 3... and show a dialog letting users know that printing is not supported in FMGo.

What about older calendars?

We're still looking at our older calendars to see if these can be tuned for Go as easily. Remember, our new calendars (and the new version of Complete) are much faster than our older ones-- they were designed to work over wide area networks-- and this is one reason they run on Go so well.

We'll post more here as we get further into the older calendars. (By the way, FileMaker is ending support for the FileMaker 8 and 8.5 product line on Sept 23, 2010. So if you're thinking about moving into FM11, this and FileMaker Go give you one more reason to.)

PostPosted: Sun Aug 29, 2010 6:30 pm
by kaostika
Can I copy the entire set of fields and put them on the other layouts. In other words would you recommend this. Also which version works better on the Go. The larger version of small version?

Oreste

PostPosted: Sun Aug 29, 2010 6:44 pm
by John Sindelar
I'm not sure what you mean about pasting fields on to other layouts. As for which one looks better on Go, I think you'll find that they're the same: the small one enlarges to look like the big one. And since "small" is missing two of the mini-calendars in the left hand side bar, I'd use large.

Hope that helps,

John

PostPosted: Sun Aug 29, 2010 9:38 pm
by kaostika
Hi, there are 4 layouts. If I want to make changes in all of them would it be better to copy and pastes the fields in need to modify.

Oreste

PostPosted: Mon Aug 30, 2010 5:36 am
by John Sindelar
Oh, I see. You can paste the entire calendar tab area from the "Calendar - Small" layout to "Calendar - Small - no Side Menu", and from the regular calendar layout to "Calendar - Side Menu". So you only have to make the field changes twice, not four times.

Practice the pasting on a backup of your calendar first so you get everything in the right place.