Keys.Period

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris

    Keys.Period

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

    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

    #2
    RE: Keys.Period

    the period key is Keys.OemPeriod

    Comment

    • Chris

      #3
      Re: Keys.Period

      iwdu15 wrote:[color=blue]
      > the period key is Keys.OemPeriod[/color]

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

      Chris

      Comment

      • AMercer

        #4
        Re: Keys.Period

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

        "Chris" wrote:
        [color=blue]
        > iwdu15 wrote:[color=green]
        > > the period key is Keys.OemPeriod[/color]
        >
        > Keys.OemPeriod is ascii value 190. When I press the "." key, ascii
        > value comes as 46, not 190.
        >
        > Chris
        >[/color]

        Comment

        • C-Services Holland b.v.

          #5
          Re: Keys.Period

          Chris wrote:[color=blue]
          > iwdu15 wrote:
          >[color=green]
          >> the period key is Keys.OemPeriod[/color]
          >
          >
          > Keys.OemPeriod is ascii value 190. When I press the "." key, ascii
          > value comes as 46, not 190.
          >
          > Chris[/color]

          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.

          Comment

          Working...