freeing keyboard focus after operating a number box

Aug 1, 2006 at 12:09am

freeing keyboard focus after operating a number box

I would like to have access to the entire qwerty keyboard at the same time as using the mouse on number boxes. After touching a number box, the number keys are occupied by the number box, and I (and the users of the app I’m making) have to remember to click outside the number box, which in itself can be frustrating. Unfortunately, not only do we have to click outside the number box, we have to click on “nothing”. There is no “nothing” on the surface of my app (only background pics and other stuff), so once I’ve touched a number box, the number keys are occupied *forever*. This is not frustrating, it’s something worse…

Is there any way around this problem? I’d really rather not have keyboard access to number boxes at all. And to the Max developers: I see no reason why number boxes should keep keyboard focus whatsoever if you click anywhere outside them. Do you?

I’ve tried using blank pictctrl’s over the number boxes – which works fine for integers, but float number boxes seem impossible to emulate that way.

Thanks in advance for any suggested solutions.

Dag Henning

#26993
Aug 1, 2006 at 1:06am

#81267
Aug 1, 2006 at 1:39am

Thanks a lot, smart solution, works very well.

#81268
Aug 3, 2006 at 8:37pm

#81269
Aug 4, 2006 at 11:40am

i did a javascript-version of it, saving the hassle of connecting a
thispatcher ;-)
http://lloopp.klingt.org/externals/deselect.zip
btw, its also usefull for cellblocks and text-fields, etc

-klaus

On Aug 3, 2006, at 10:37 PM, cheese wrote:

> That script is awesome! Is anyone smart enough to build an actual
> object that works like that? Or I suppose a [bpatcher] would be
> simple enough!
>
> cheese
>

#81270
Aug 4, 2006 at 5:33pm

very nice, I needed something like this and didn’t even realize it =)

#81271
Aug 4, 2006 at 9:01pm

> very nice, I needed something like this and didn’t even realize it =)
>
>
Same here! I got used to a) leaving a nice blank space to click on and b)
forgetting to click and messing stuff up anyway.

cheese

#81272

You must be logged in to reply to this topic.