TheSwamp

Code Red => VB(A) => Topic started by: Matersammichman on June 19, 2006, 04:35:24 PM

Title: ESCape Key Use
Post by: Matersammichman on June 19, 2006, 04:35:24 PM
How can you make the ESC key close a VB form?
Title: Re: ESCape Key Use
Post by: David Hall 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
Title: Re: ESCape Key Use
Post by: David Hall on June 19, 2006, 04:45:40 PM
Set cancel = true in the properties of the "Quit" button or whatever you call it
Title: Re: ESCape Key Use
Post by: Matersammichman on June 19, 2006, 05:05:45 PM
Golly Gee Willikers CmdrDuh....You're the greatest!!!





Seriously, thanks!
Title: Re: ESCape Key Use
Post by: David Hall on June 20, 2006, 10:07:13 AM
No problem.  Glad I could help