Saved/Undo strip timing

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Tue Mar 01, 2022 6:56 am
When an event is dragged on the calendar grid, a narrow strip briefly appears at the bottom of the calendar indicating that the event change was "saved" along with an "Undo" option. Is there any way to make the appearance of this strip longer. My clients tell me that it's too quick for them before it vanishes. Also, is there a way to add a button to the calendar that performs an undo of the last saved change?
Attachments
undo.png
undo.png (21.66 KiB) Viewed 14511 times
Posts: 109
Joined: Fri Jul 17, 2009 7:44 am
PostPosted: Thu Apr 07, 2022 6:33 am
Nobody? Anyone know where this might be edited? :D
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Thu Apr 07, 2022 9:23 am
Hi Jim,

Sorry for missing your first post.

Unfortunately, in DayBack Classic there's no way to change how long the built-in undo dialog remains to show.

However, you could technically override this message bar with your own that shows for a longer period of time. The cascading events functionality here is an example of how to do that with the showMessage function

It will take some customization to make it work for your solution, and implementing event actions is a little different in DayBack Classic.

Since DayBack just calls the "Submit Event From WebViewer" FileMaker script to actually write back the changes to FileMaker, you could keep track of the changes in a global variable, then give your users a button somewhere that would run a FileMaker script to undo the changes that were applied.

Since the new DayBack supports app actions, you could store the event object and revertObject as a global in the web viewer and give users a button in the calendar to perform the undo at any time. Unfortunately, this isn't possible in DayBack Classic as app actions aren't supported.

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 1 guest

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