Calendar/Source Selection

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 10
Joined: Mon Sep 30, 2019 12:07 pm
PostPosted: Fri Oct 25, 2019 12:27 pm
Hi,

I have the need to restrict the source selection to one source at a time, essentially having it behave like a radio button. Is this possible within side bar or is it maybe doable to move the source selection to my custom side bar?

Thanks!
SeedCode Staff
SeedCode Staff
Posts: 691
Joined: Mon Feb 28, 2011 2:47 pm
PostPosted: Fri Oct 25, 2019 12:32 pm
Hi Graham,

There is no way to tie an action to Calendar selection in DayBack for FileMaker, e.g. deselect all the other calendars but this one. The custom sidebar is the way to go for this.

hth,
Jason
Posts: 10
Joined: Mon Sep 30, 2019 12:07 pm
PostPosted: Fri Oct 25, 2019 12:55 pm
Thanks Jason...could you maybe point me in the direction of what action I would call if I had say a radio button on my sidebar to select the source...
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Mon Oct 28, 2019 6:02 am
Hi Graham,

You can control the active sources by setting the $$sc_SourcesActive variable in the "Event Find" script based on your calendar selection as detailed in the docs here: https://www.seedcode.com/pmwiki/index.p ... #Scripting

To refresh the calendar and update the sources after you've made a selection in your own FileMaker object, you can use the "Refresh Calendar" script, as detailed here: https://www.seedcode.com/pmwiki/index.p ... shCalendar

As the docs mention, this will not actually change the selection of active sources in the built-in sidebar, so you really only want to use this menu if you plan on using your own sidebar, or at least hiding the Calendar Sources tab in the sidebar: https://www.seedcode.com/pmwiki/index.p ... ideSidebar

Regards,

KC
Posts: 10
Joined: Mon Sep 30, 2019 12:07 pm
PostPosted: Mon Oct 28, 2019 8:40 am
awesome, thanks!

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 2 guests

(855) SEEDCODE
[email protected]
Follow us: