I would like to close my application by pressing the escape key.
I know I have to define the escape key press event and specify a sub routine that will trigger when I press escape. However I haven't been able to google an example.
Could anyone point me in the right direction?
