sal88 Posted April 23, 2020 Posted April 23, 2020 Hi all I have a customer list in a drop down. The drop down field has an On Save script trigger which then performs a find in the same layout for the selected customer. The drop down field is configured to 'go to next object using' return. There is also an On Record Load trigger on the layout which pops up with a dialog if the customer's Attention field is populated. This all works fine unless I utilise the option to save the drop down field with the enter button. It ends up looking like this, with the white background. Once the user clicks OK the layout 'appears'. Thanks!
Wim Decorte Posted April 23, 2020 Posted April 23, 2020 We would probably have to see the whole script sequence and see where "Freeze window" is being used, what layout switches are going on etc. My first reaction though: too many triggers. Sounds like a workflow that can entirely be handled with regular scripts and card window instead of a value list. It'll give you infinitely more control and fewer disconnected event handlers that need to all feed off each other.
sal88 Posted May 2, 2020 Author Posted May 2, 2020 (edited) Very odd, it only happens with custom menu sets, even ones with the bare minimum elements and no keyboard shortcuts. If I use the standard one it doesn't. The issue doesn't occur at all when I load the database locally, regardless of the menu set. Edited May 2, 2020 by sal88
sal88 Posted May 28, 2020 Author Posted May 28, 2020 I've attached a simplified version of this scenario. There is now only one script trigger which is triggered when selecting from the drop down. It happens on the local version (not sure about hosted). The white background appears only when a custom menu is in place. Thanks white background.fmp12
Steve Martino Posted May 28, 2020 Posted May 28, 2020 (edited) How about now? white backgroundMOD sm.fmp12 Edited May 28, 2020 by Steve Martino
sal88 Posted May 28, 2020 Author Posted May 28, 2020 (edited) Same behaviour on my usual PC but not my other. But then I've just tried my original file on my other PC and the issue doesn't occur! I can't work out the difference between the two. Did you experience the issue yourself? Thanks Edited May 28, 2020 by sal88
Steve Martino Posted May 28, 2020 Posted May 28, 2020 No. Not with your file or my modified one. I just put a script trigger on the dropdown.
sal88 Posted June 3, 2020 Author Posted June 3, 2020 Very strange, it is just something on my PC after all that 😬
Recommended Posts
This topic is 1907 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now