Author Topic: ESCape Key Use  (Read 1364 times)

0 Members and 1 Guest are viewing this topic.

Matersammichman

  • Guest
ESCape Key Use
« on: June 19, 2006, 04:35:24 PM »
How can you make the ESC key close a VB form?

CmdrDuh

  • Automatic Duh Generator
  • King Gator
  • Posts: 4039
Re: ESCape Key Use
« Reply #1 on: June 19, 2006, 04:44:46 PM »
From memory, your cancel button you enable as exit or cancel = true.  Let me go look. brb
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second

CmdrDuh

  • Automatic Duh Generator
  • King Gator
  • Posts: 4039
Re: ESCape Key Use
« Reply #2 on: June 19, 2006, 04:45:40 PM »
Set cancel = true in the properties of the "Quit" button or whatever you call it
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second

Matersammichman

  • Guest
Re: ESCape Key Use
« Reply #3 on: June 19, 2006, 05:05:45 PM »
Golly Gee Willikers CmdrDuh....You're the greatest!!!





Seriously, thanks!

CmdrDuh

  • Automatic Duh Generator
  • King Gator
  • Posts: 4039
Re: ESCape Key Use
« Reply #4 on: June 20, 2006, 10:07:13 AM »
No problem.  Glad I could help
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second