Jump to content

Limit to Constrain Found Set from Find Mode


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

Recommended Posts

Posted

Is there any way via custom menus to disable hitting Return to perform a find from Find Mode?

I'm trying to allow Find Mode access to a certain group of users but I want to keep them within the found set, so I thought disabling Perform Find and Extend Found Set in the Requests menu (leaving only Constrain Found Set) would do it. Perform Find is greyed out in the toolbar, but hitting Return still invokes it. The Perform Find menu command doesn't list anything as a keyboard shortcut in custom menus, either.

I know that I could create a script and attach it to the Find Mode menu command, but I was hoping this would be a quick-and-dirty way to give them what they want until I get to that.

  • 2 years later...
Posted

I've come across the same problem and I just had an "onkeystroke" layout script trigger assigned to the layout, which triggers a script.

 

That script checks:

 

Case (

Code(Get ( TriggerKeystroke )) = 10 or Code(Get ( TriggerKeystroke )) = 13; <<they've hit enter or return>>; <<do something else>>

)

Posted

You can try setting field behavior (Inspector > Data > Behavior) to go to next object with Return and Enter checked as well. :^)



you can also trap for the mode - OnModeEnter ... halt

This topic is 4368 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.