AnsweredAssumed Answered

Active button doesn't return in inactive after exit script

Question asked by lijnbach on Jul 8, 2015
Latest reply on Jul 8, 2015 by lijnbach

Summary

Active button doesn't return in inactive after exit script

Product

FileMaker Pro

Version

14.01

Operating system version

OSX Yosemite 10.10.4

Description of the issue

In the new FMPA 14 the developer can make "menus".

Within the new menus you can give the active button another color or view than the inactive buttons.

In my case I have a script, that when the user is adding a new record (Get (RecordOpenState = 1)),and the user is clicking a menu button while adding a new entry, the user gets a dialog box, and directly after that an "exit script". (So the user is forced to stay on the LayOut and finish the new entry, or exit the new entry, before going to another LayOut).

All works fine, except the "active button" is already active, so the menu bar doesn't show the right view (or color) anymore after exit script. (Because the other button is already active, also after "exit script", where the user is forced to stay on the LayOut with his/her new entry).

Hans Lijnbach

Expected result

Not changing the view after "exit script"

Actual result

Meu bar "active button" is already changed after "Exit script".

Workaround

Not found yet

Outcomes