From SeedCode Documentation

CCCalendar: Interface

How to I change the look of CC Calendar or change the tabs like Daily and Monthly?

Applicable Versions: Free, Full, Pro.

All the interface objects, like the tabs and rounded corners used in CC Calendar, are stored in global fields. you can access these field directly on the About / Interface tab of CC Calendar. (A second layout, “Interface”, contains the actual container objets pasted onto the layout as a backup.) Many of these graphics need to be edited in PhotoShop as they are not FileMaker objects. Aside from the contents of these global fields, you can edit the layouts in CC Calendar just as you’d edit any other FileMaker layouts. (From ScriptMaker, run the “Show Status Area” script to gain access to the layout stat bar.) Note that many layout objects are locked to prevent their being accidentally edited or deleted; simply select the item and choose “unlock” from the “Arrange” menu in layout mode.

I would caution you, however, to be very careful editing the monthly layouts; each “day” there is comprised of a lot of objects stacked on top of each other and it can be difficult to get them all back in the same place; be sure to make a copy of the layout as a backup before editing it.

The names of each tab (”Daily”, “Month”, etc.) are stored in global text fields and are editable right on the About / Interface tab of CC Calendar. Changing the actual layout names is not recommended as these are referenced in scripts.

Note: if you’ve made a clone of CC Calendar, the graphics in these global fields will be erased. Simply return to the Interface layout and select each graphic from the layout, enter browse mode, and paste it into the global field to the left of each graphic. Be sure to do this when you have “sole access” to the file: most reliably done by taking the file off FileMaker Pro Server. Globals reset on a multi user system do not persist past that “session” and will be done when you next reopen the file. You can also import these graphics from another version of CC Calendar, or from a backup file (providing it is not a clone).

Alternately, you can run the script “Backup Interface, Colors, etc.” from CCCalendar before making your clone and then run the script “Restore from Backup” after making your clone.

Several of the graphics used in CC Calendar have some degree of transparency. The contents of IntDayBackgroundGlobRept are a prime example. We recommend using Macromedia FireWorks to edit these images and export them again as transparent .pngs

Why are there 6 records in CCCalendar.fp7

Applicable Versions: Free, Full, Pro.

There is one record for each possible week in a month. Should additional records get created or should a record get deleted from CC Calendar, the month views will cease to function properly. If this happens, press the “reset” button in the lower right corner of the monthly view. This will delete all your existing calendar records (just the interface records- not your appointments) and create six new, properly formatted records for you. See security for more information on preventing the deletion or duplication of CC Calendar records.

Why don't the portals scroll on the month view?

Applicable Versions: Free, Full, Pro.

We wanted to show as much of each appointment’s description as possible and didn’t want to sacrifice the space needed by a scroll bar. Aside from that, you can turn on scroll bars for these portals if you wish; it won’t break anything. Similarly, you can turn the scroll bars off for the week view (Full and Pro Version) if you’d like a little more horizontal room there.

Can I remove the scroll bars on the week view?

Applicable Versions: Full, Pro.

Yes. In fact, the fields in these portals already extend past the scroll bars so you can simple edit the portal itself, unchecking the scroll bar option: you don’t have to lengthen the fields. If you’re not using the To-Do list (Pro) or Other Items (Full and Pro) features, you can simply delete these portals and extend the number of visible rows in the appointments portals.

Retrieved from http://archive.seedcode.com/pmwiki/index.php?n=CCCalendar.Interface
Page last modified on January 06, 2008, at 07:49 PM