Re: Keyup and keydown

2000-06-21 Thread Jacqueline Landman Gay
Kevin Miller wrote: > > Strange: without a field selected I do not get keyUp messages (on my Mac, at > least). Are you sure you are getting them there?\ Yeah, I think so. The reason I didn't think so before is my tests didn't insert any waits, so the response was too fast to actually see. But i

Re: Keyup and keydown

2000-06-21 Thread Kevin Miller
On 21/6/00 11:10 pm, Jacqueline Landman Gay <[EMAIL PROTECTED]> wrote: > I did more tests which show that it works that way here on my Mac too -- > keyups and downs are being sent to a card without any fields. (My > previous tests were flawed.) One exception seems to be the shift key, > which is

Re: Keyup and keydown

2000-06-21 Thread Scott Raney
On Wed, 21 Jun 2000, Jacqueline Landman Gay wrote: > Dave Cragg wrote: > > > It seems to work differently on Windows (on NT anyway). KeyUps and > > rawKeyUps get sent even without an active field. A series rawKeyUps > > and rawKeyDowns get sent when the key is depressed for a long time, > > matc

Re: Keyup and keydown

2000-06-21 Thread Jacqueline Landman Gay
Dave Cragg wrote: > It seems to work differently on Windows (on NT anyway). KeyUps and > rawKeyUps get sent even without an active field. A series rawKeyUps > and rawKeyDowns get sent when the key is depressed for a long time, > matching the normal key repeat rate. This happens on cards with no >

Re: Keyup and keydown

2000-06-21 Thread Dave Cragg
At 8:23 PM +0100 6/21/00, Kevin Miller wrote: >I think perhaps you're a little confused about the exact meaning of >"keyDown" and "keyUp". Keydown is sent when a key is pressed, keyUp is sent >after the character has been drawn into the field. KeyUp doesn't indicate >that the key is *up* - it c

Re: Keyup and keydown

2000-06-21 Thread Kevin Miller
On 21/6/00 7:42 pm, Jacqueline Landman Gay <[EMAIL PROTECTED]> wrote: > I want to detect a keydown and a keyup when the user is not typing into > a field. Ideally, the key would be one of the control keys, or maybe the > space bar -- basically, I want a key that is easily accessible. > > It look

Keyup and keydown

2000-06-21 Thread Jacqueline Landman Gay
I want to detect a keydown and a keyup when the user is not typing into a field. Ideally, the key would be one of the control keys, or maybe the space bar -- basically, I want a key that is easily accessible. It looks like both keyup and rawkeyup are only sent if the character is typed into a fie