Echo33029 Posted September 10, 2011 Posted September 10, 2011 Has anyone found a way to trap the escape key being pressed when using a Show Custom Dialog box. The get(lastmessagechoice) function always returns 1 when escape is pressed, and get(lasterror) always returns 0. Since we need to use the default (rightmost) button to get user input into a field, it seems impossible to find out if the user simply pressed escape ( a perfectly normal behavior in the world of dialog boxes). Several online searches on this website and google has resulted in no satisfactory answer. Using Filemaker 11 Advanced on Windows XP.
Vaughan Posted September 10, 2011 Posted September 10, 2011 Has anyone found a way to trap the escape key being pressed when using a Show Custom Dialog box. The get(lastmessagechoice) function always returns 1 when escape is pressed Known behaviour. In WIndows the Escape key activates the default button. Note that in Mac OS X the Escape key does NOTHING. ..it seems impossible to find out if the user simply pressed escape ( a perfectly normal behavior in the world of dialog boxes) Pressing escape may be "normal" in the PC world but not in Mac OS X.
Echo33029 Posted September 10, 2011 Author Posted September 10, 2011 Thanks Vaughn. I thought I was going crazy when I found no way around this.
Recommended Posts
This topic is 4823 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