iMarcW Posted July 14, 2010 Posted July 14, 2010 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.
truelifeajf Posted March 9, 2013 Posted March 9, 2013 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>> )
LaRetta Posted March 9, 2013 Posted March 9, 2013 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
Recommended Posts
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