Forums > MaxMSP

numberbox keyboard focus – bug or feature?

July 21, 2007 | 4:31 pm

hi max!

i noticed a strange behaviour of the number box today:

when selected, the ctrl-i key combination does not work anymore…
(at least on my german keyboard)

see patch below

bug or feature?

cheers

max

max v2;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P number 113 75 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 113 154 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 113 133 40 196617 key;
#P window linecount 2;
#P comment 113 40 100 196617 $1 select this number box:;
#P window linecount 1;
#P comment 113 117 100 196617 $2 type ctrl+i;
#P comment 113 198 100 196617 $3 nothing happens;
#P connect 3 0 4 0;
#P pop;

_____________________________________________

m a x i m i l i a n m a r c o l l

http://www.maximilianmarcoll.de

d i s . p l a y c e

http://dis.playce.info


July 21, 2007 | 8:54 pm

Logically, when You click in a number box, it waits for a keyboard number data entry.
What was you wishing with ctrl-i key combination ?


July 22, 2007 | 4:55 pm

Quote: m.marcoll@web.de wrote on Sat, 21 July 2007 18:31
—————————————————-

> when selected, the ctrl-i key combination does not work anymore…
> (at least on my german keyboard)
—————————————————-

Ctrl-I is the ASCII code of the Tab key.

Numbox swallows tab keystrokes by design. The fact that numbox doesn’t distinguish between ‘real’ tabs and the key combination Ctrl-I… well, that’s a matter of taste whether it’s a bug or a feature.


July 22, 2007 | 8:10 pm

aaaha.
thank you very much
cheers
max

On Jul 22, 2007, at 6:55 PM, Peter Castine wrote:

>
> Quote: m.marcoll@web.de wrote on Sat, 21 July 2007 18:31
> —————————————————-
>
>> when selected, the ctrl-i key combination does not work anymore…
>> (at least on my german keyboard)
> —————————————————-
>
> Ctrl-I is the ASCII code of the Tab key.
>
> Numbox swallows tab keystrokes by design. The fact that numbox
> doesn’t distinguish between ‘real’ tabs and the key combination
> Ctrl-I… well, that’s a matter of taste whether it’s a bug or a
> feature.
> –
> ————– http://www.bek.no/~pcastine/Litter/ ————-
> Peter Castine +–> Litter Power & Litter Bundle for Jitter
>
> iCE: Sequencing, Recording & Interface Building for Max/MSP
> Extremely cool http://www.dspaudio.com/
>

_____________________________________________

m a x i m i l i a n m a r c o l l

http://www.maximilianmarcoll.de

d i s . p l a y c e

http://dis.playce.info

_____________________________________________

m a x i m i l i a n m a r c o l l

http://www.maximilianmarcoll.de


Viewing 4 posts - 1 through 4 (of 4 total)