Numeric Keypad with Inkey()

Xailer professional forum in English
Responder
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

Numeric Keypad with Inkey()

Mensaje por Milan Mehta »

In a DBBrowse, I am accepting search value thru nKey trapped by FormKeyup Event.

The problem arises when user uses Numeric Keypad keeping Num lock on or off. Like when user Presses 1, nKey returns 97 which is small a.

How do I know the correct key pressed in this situation ?

TIA
Milan.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9256
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: Numeric Keypad with Inkey()

Mensaje por ignacio »

Hello,

Try with OnChar

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder