By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,571 Members | 955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,571 IT Pros & Developers. It's quick & easy.

Keys.Period

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies

P: n/a
the period key is Keys.OemPeriod
Nov 21 '05 #2

P: n/a
iwdu15 wrote:
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
Nov 21 '05 #3

P: n/a
Keys.Delete is 46, key cap contains . and Del on the number pad
Keys.OemPeriod is 190 from the main keyboard

"Chris" wrote:
iwdu15 wrote:
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

Nov 21 '05 #4

P: n/a
Chris wrote:
iwdu15 wrote:
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


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.

--
Rinze van Huizen
C-Services Holland b.v.
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.