Tab key and number boxes

Dec 4, 2012 at 12:14pm

Tab key and number boxes

Hello gents, I’m trying to assign some key shortcuts to my application via the [key] object. Specifically, I’m having an issue with the tab key. It works fine, until clicking on a number box. [key] then ignores the tab key until the user has clicked away from the box. Anyone know of a good workaround?

#65500
Dec 4, 2012 at 6:37pm

You can try [keyup], but [numbox] specifically overrides [key]‘s handling of the tab key. It’s sort of a pain, but it’s designed that way and I daresay there are a gazillion patches out there that rely on this. Well, half a gazillion.

I wrote a custom replacement for [key] many years ago, but due to changes to both Mac OS and to Max, the approaches (yes, plural) I’ve taken don’t work any more. Finding a new way to out-key [key] is on my to-do list, but it’s not at the top.

#235991
Feb 20, 2013 at 1:40pm

number box -> [t b] -> (front) -> [thispatcher]

#235992

You must be logged in to reply to this topic.