Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Not closing form with esc

Author
Message
VB and GDK
15
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 16th Jul 2009 09:56
I want a form to show when the escape button is pressed. It opens, but then the whole application closes because the escape button was pressed. How do you stop the app from closeing.
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 16th Jul 2009 22:18 Edited at: 16th Jul 2009 22:18
Set the DarkGDK.IO.Keyboard.EscapeKeyEnabled property to False. This should stop the Escape key from being enabled.

Paul.

VB and GDK
15
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 17th Jul 2009 06:36
Thanks that worked

Login to post a reply

Server time is: 2024-11-21 14:01:49
Your offset time is: 2024-11-21 14:01:49