Hello,
I am encountering an issue with handling key values using the KeyDown
event on a Window in my Wisej web application. Specifically, I am trying to capture key presses globally (at the form level), but the KeyDown
event does not seem to catch or handle the key inputs as expected. No matter which control has focus, I want the event to fire. Is this intended?
I have provided simple code that tries to handle the KeyDown event on the form level and print the key value to the debug console. I have tested the exact same code in Windows Forms and it worked there just fine. The application has a few TextBox and ComboBox controls.
Hi Zan,
The KeyUp and KeyDown events don’t propagate to the container, what you’re experiencing is the correct behavior in Wisej.NET!
Best Regards,
Alaa
Please login first to submit.