winklestork Posted October 19, 2010 Posted October 19, 2010 When you define a layout to not autosave data, if the user clicks outside a field they get a dialog box asking them to Save/Cancel/Discard. I want to prevent that dialog and trap it so I can put up a custom dialog or force them to hit my Save/Cancel button. Is that possible?
TheTominator Posted October 19, 2010 Posted October 19, 2010 There are probably other ways, but here's something to try. Create a new field, with global storage. Put this field onto the layout with a transparent fill. Send this field to the back behind all of the other fields. Size this field so that it covers all of the area on the background of the layout. Attach an "On Object Enter" script trigger to this field. The triggered script only has one script step: Go to Field[].
comment Posted October 19, 2010 Posted October 19, 2010 See if this helps: http://fmforums.com/forum/showtopic.php?tid/216848/post/366451/#366451
Recommended Posts
This topic is 5218 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