Shortcut to close image (1 Viewer)

cpampas

Registered User.
Local time
Today, 12:02
Joined
Jul 23, 2012
Messages
218
Hello,
I wonder if it is posible with VBA to set the enter key to shortcut closing a jpg file.something like pressing the enter key instead of ALT+F4
Thanks
 

theDBguy

I’m here to help
Staff member
Local time
Today, 12:02
Joined
Oct 29, 2018
Messages
21,538
You could try trapping the Enter key with the Key Down or Key Up event. However, I am not sure using the Enter key for this purpose would be a good idea.
 

Users who are viewing this thread

Top Bottom