August 19, 200520 yr Hi Guys, Is there any way to disable performing the find when the user hits the enter key? I have a script that enters a layout and then enters into find mode - the user enters data, and then I require them to select a button that performs the find based on some specific calculations. Problem is if they accidentally hit the enter key (which is not unlikely), the find is performed, then they are in browse mode without realising it, and could easily destroy existing data. Is there a work around? Ta.
August 19, 200520 yr Put the script into a pause when the user enters find mode. Then hitting enter should resume the script, and you control what happens next.
August 20, 200520 yr Author Thanx Reed, Funny thing is I tried that that other night with unexpected results. This time it works fine. (I've since done some other work on it) I think it has something to do with halting the preceding or following scripts. Good thing is, I think this has solved another annoying problem that's bugged me - how to get the enter key to run a default script depending on the layout you're on. I'll give it a go! B)
Create an account or sign in to comment