Color Events from different event field

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Wed Jun 24, 2020 6:26 am
I want to change the background color of events based on a new field called "Type". Type is related to a table I made of various type names and RGBa values. Currently it seems to still be pointing to "Status" and I've tried to change a few things but so far nothing has succeeded so I thought I'd ask for a little guidance. :D
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Wed Jun 24, 2020 7:11 am
Hi Jim,

By default, the background color of an event will be based on the status value unless you override that using event styles. We have an example of how to do that in our documentation here: https://www.seedcode.com/pmwiki/index.p ... tyles#fill

These special background colors will need to be defined in your CSS file as classes, so they're fairly static. But, if you wanted to dynamically add or remove colors from a table or value list, you could script updating the CSS content when the file starts up or values are changed.

We'd be happy to help out with both of these solutions as part of an implementation package. Packages can be used for consulting, coaching, or modifications like these and start at blocks of 5 hrs for $190/hr. When the time comes, you can use this link and with a day or two notice we can schedule our first screen-sharing session:

http://sites.fastspring.com/seedcode/pr ... onpackages

Regards,

KC
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Thu Jun 25, 2020 4:17 am
Thanks. For anyone else needing a solution, I used inline styles to insert the correct RGBa into the Dbk_eventSummaryCalc and it worked a treat! :D

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: