KeyDown Event not firing on Form level

0
0

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.

Attachment
  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.