Beantwortet WinJS.Utilities.Key.add & subtract

  • Sonntag, 24. Juni 2012 21:33
     
     

    I've registered a "keydown" event handler and I want to handle the add and subtract keys. It seems that these keys return keyCode 187 and 189 respectively and not the values of WinJS.Utilities.Key.add (=107) and WinJS.Utilities.Key.subtract(=109).
    Is this a bug?


    Paul Lambadaris SingularLogic SA

Alle Antworten

  • Sonntag, 24. Juni 2012 21:49
     
     Beantwortet
    Got it! The returned keyCodes are the equal and dash codes from the top of the keyboard - not from the keypad. Thanks anyway.

    Paul Lambadaris SingularLogic SA