Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7035 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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.

Posted

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)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.