Short Keys
C#
3
Posts
2
Posters
0
Views
1
Watching
-
Hello every body. How can I catch Key press but not like event for a Form or other component. For exapmle: if my program is started end is presed keys F1,F2,... and etc. I want to catch this Keys presed. Thanks for all.
-
Hello every body. How can I catch Key press but not like event for a Form or other component. For exapmle: if my program is started end is presed keys F1,F2,... and etc. I want to catch this Keys presed. Thanks for all.
-
Set your form's KeyPreview property to true then use the form's KeyDown, KeyPress or KeyUp events.
Thanks DaveyM69 it works!!! :)