Alex K Posted August 19, 2005 Posted August 19, 2005 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.
Reed Posted August 19, 2005 Posted August 19, 2005 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.
Alex K Posted August 20, 2005 Author Posted August 20, 2005 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)
Recommended Posts
This topic is 7035 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