Page 1 of 1

Delete key code

Posted: Fri Aug 07, 2009 12:01 pm
by ConvertFromOldNGs
by Desmond >> Thu, 19 Apr 2001 1:29:29 GMT

Hi

What is the Global Constant or the ANSI Value for the Delete button?
The ANSI value 46 is a J_key_Stop, but it mapped to the Del key on the Number Pad, but not the Delete key.

Thank you

Desmond
Dot Shell Japan

Re: Delete key code

Posted: Fri Aug 07, 2009 12:01 pm
by ConvertFromOldNGs
by Craig Shearer >> Fri, 20 Apr 2001 1:31:59 GMT

Hi Desmond

This might be a problem with the locale - on my PC here in NZ, hitting the delete key sends a keycode of 46.

Best way to find out would be to bring up a form with the keyDown event method writing out the keyCode. Then you can see what you're getting when you hit the delete key.

Craig.