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!
Calendar/Source Selection
5 posts
• Page 1 of 1
Posts: 10
Joined: Mon Sep 30, 2019 12:07 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 |
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...
|
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 |
awesome, thanks!
|
5 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 3 guests