Issue report by Chris Cain
Product
FileMaker ProVersion
14Operating system version
Windows (all)Description of the issue
Escape key selects default option in custom dialogs.On windows, for any other application, "esc" means "cancel" not "proceed with whatever the first option is".
There is simply no explanation that can translate "esc" into the latter intent for a Windows user.
Steps to reproduce the problem
Create a script:Show Custom Dialog, with buttons "one" and "two"
Exit Script
Debug the script. When shown the dialog, hit esc. Get ( LastMessageChoice ) returns 1. There is no way to discover that the user hit "esc", which on Windows means "cancel".
Expected result
Either:1) like on Mac, just don't do anything when esc is hit
2) have get ( lasterror ) return a code to indicate that the user canceled
3) have a function to determine that the user hit esc
4) be able to designate a button to be "pressed" if the user hits esc
and also, perhaps
--ability to designate the button that should be highlighted by default