Keys.Period

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

It would seem a simple thing and maybe I'm being blind, but why is there
no System.Windows.Forms.Keys.Period

When I press the "." key, a ascii code 46 comes through, which is equal
to the enum Keys.Delete. What's up with this?

Chris
 
iwdu15 said:
the period key is Keys.OemPeriod

Keys.OemPeriod is ascii value 190. When I press the "." key, ascii
value comes as 46, not 190.

Chris
 
Keys.Delete is 46, key cap contains . and Del on the number pad
Keys.OemPeriod is 190 from the main keyboard
 
Chris said:
Keys.OemPeriod is ascii value 190. When I press the "." key, ascii
value comes as 46, not 190.

Chris

Does toggling the numlock have any effect on the outcome? Since on the
numpad it's function depends on the state of the numlock key.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top