Capture Keypress in elementhost1
#3
(03-03-2021, 07:53 PM)abenedik Wrote: To get keystorkes in WinForms application I would advice you to use the method in WinForms. I am not an expert for WinForms, but you may try to subscribe to KeyDown event in the Form object.

yes i have used the form keydown event, it originally did not work until i changed keypreview to true in the form properties, sometimes you have to step back and look at it again, was a simple fix in the end :)
Kevan Hampson
  


Messages In This Thread
Capture Keypress in elementhost1 - by GraPhiX - 03-02-2021, 07:51 PM
RE: Capture Keypress in elementhost1 - by GraPhiX - 03-03-2021, 08:10 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)