I have a form (Form1) and a label (lblTest)
What code do I need to insert so when any key is pressed, the key is displayed in the label? This event should take place when the form is selected
E.g. if the user presses g, a g is displayed in the label.
I have tried some code in the Form_KeyDown event, but I can’t get it to work.
I’m currently looking at this.
Try the below: