KeyPress at form level with controls

后端 未结 2 867
难免孤独
难免孤独 2021-01-22 05:35

I am wondering if it is possible to handles KeyPress event at form level when there are controls in a form.

I can achieve this whe

相关标签:
2条回答
  • 2021-01-22 06:30

    You can do it by enabling KeyPrivew Property of your form.

    0 讨论(0)
  • 2021-01-22 06:35

    Just set true to key preview property of your form it will work.

    0 讨论(0)
提交回复
热议问题