You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KeyDown, KeyUp, KeyPress Events does not work #847
KeyPreview lets a Container (like the page) process any child´s key Event, but if the child is not subscribed, the Event is never
wired back to the server. This is to avoid a larger amout of Keyboard Events that would fire when typing.
Depending on your needs you might also want to take a look at using accelerators.
Activity
itg-assistant commentedon Jun 12, 2026
Frank (ITG) answered 2017-05-19 09:53:55 UTC
Hi Bitpainter,
did you subscribe to the KeyDown/KeyUp/KeyPress Events ?
Keyboard Events are what we call "lazy Events". They are fired only when attached (see https://docs.wisej.com/docs/controls/general/lazy-events)
KeyPreview lets a Container (like the page) process any child´s key Event, but if the child is not subscribed, the Event is never
wired back to the server. This is to avoid a larger amout of Keyboard Events that would fire when typing.
Depending on your needs you might also want to take a look at using accelerators.
Hope that helps.
Best regards
Frank