OnKeyPress JScript event not capturing F6/F7

// Expert user has replied.
C Charles Malm 3 years 5 months ago
0 2 0

I have a customer using a SAP system, They use the following code:

 

function processKeyEvent(event)
{
alert(event.keyCode);
}

Pressing F6 or F7 does not display the alert box? is this an ez fix or is this an SPR?

Please Register or Login to post a reply

2 Replies

S Samuel Garcia Blanco

I haven't seen the OS or model anywhere but if this happens in WM is because F6 and F7 are mapped to the volume keys and handled by the shell. They can use the keytrap application from Hiro Haga (attached) to receive those keys on their application.

C Charles Malm

Hi Samuel,

I forgot to mention this is for a CE5 device so the F6/F7 keys are not reserved.

I tested with KeyTrap prior to posting and F6/F7 are coming through ok.

This seems to be an IE specific issue.

CONTACT
Can’t find what you’re looking for?