Tuesday, April 05, 2005

 

ESC key

Do this

create a button on the same form where you have to get hold of ESC key!

in the form properties check out CancelButton and set its value to the the button designed right now. now write the routine for that button if it is clicked.

you can also assign it at runtime like this:
(C#) this.CancelButton=button24;
(VB.NET) Me.CancelButton=button24

With Best Regards,
Mitesh V. Mehta
Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?