Renaming Window

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 11
Joined: Fri Apr 24, 2015 1:02 pm
PostPosted: Thu Feb 11, 2016 12:24 pm
I've got a script step that occurs on startup but after I run the Upon Opening. This renames the window to include the name of the company and the name of the user.

However when I go to the calendar, DayBack complains.

Can I rename the window or does it have to rename as the DayBack name?
SeedCode Staff
SeedCode Staff
Posts: 190
Joined: Tue Sep 22, 2015 2:27 pm
PostPosted: Thu Feb 11, 2016 3:38 pm
Thanks for reaching out to us on this!

Toward the top of DayBack's "Upon Opening" script, there are script steps which set the window title, and then store that window title in a global variable.

Since you are changing the name of the window after DayBack's opening script runs, you'll want to change the name before the opening script instead, and disable the Set Window Title step in "Upon Opening". Or, you could use the Set Window Title step in the Upon Opening script to set the window title instead of the downstream script step. In the end, DayBack needs to know the title of the main window that the calendar should run in, which is stored in the variable $$sc_SolutionWindowName.

I hope this helps! Keep me posted if you have any other questions.
Posts: 11
Joined: Fri Apr 24, 2015 1:02 pm
PostPosted: Mon Feb 15, 2016 12:39 pm
That suggestion solved the trick. Thanks

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 3 guests

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