Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWEdit OnAsyncKeyPress and OnAsyncKeyUp/Down
#6
Hi Paul, maybe I didn't explain it clearly... I didn't say that you should replace all your OnKeyPress events with OnKeyDown events for all your requirements.

They are different events and they behave differently. More importantly:

*The keydown and keyup events provide a code indicating which key is pressed, while keypress indicates which character was entered*

Please have a look at the spec: https://developer.mozilla.org/en-US/docs...down_event

So, don't expect OnKeyDown/Up and OnKeyPress events to receive the same parameters when they are triggered. They won't.
Reply


Messages In This Thread
RE: IWEdit OnAsyncKeyPress and OnAsyncKeyUp/Down - by Alexandre Machado - 07-09-2021, 02:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)