answersLogoWhite

0


Best Answer

In your Forms designer, or in your code, set the Form.CancelButton property to your "Cancel" button. Then, when the Cancel button is pressed, or the Escape key is clicked (or the Dialog is closed) the DialogResult of the form will be "DialogResult.Cancel."

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Closing a form in VB.NET using escape key?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When is direct entry form for 2009 closing?

when is direct entry form for 2009 closing


What is the noun form of close?

The noun form of close is close (or closing). The result of closing is closure.


What is the present form if verb escape?

escape


How do you find keyword in aspnet using vbnet?

I believe that this is currently not possible. The reason why this is currently impossible is because ASP.NET is a different programming language then VB.NET. ASP.NET is a web programming language, and VB.NET is a windows form development language. I am sorry but I believe that it is almost impossible to do this.


When did escape the fate form?

Escape the Fate formed in 2004.


What is the toolbox of VBNET?

The Toolbox is a part of VB.NET that displays all items you can put inside your form. You can drag and drop toolbox items to your form. Some examples of toolbox items are: - buttons - textboxes - menustrips


When is the closing date of post ume form?

Futo will close her post utme form on 25th


Where do you find an escape from scorpion island app form?

on google. Type in escape from scorpion island application form and its the one in capital letters


What is the noun form of a business closing?

The word 'business' is a noun and the word 'closing' is a gerund (the present participle of a verb that functions as a noun). The term 'business closing' can be considered a compound noun. Example:The business closing has been stressful for everyone.


How do you write escape in the possessive?

The possessive form of the noun escape is escape's.example: His escape's result was another four years added to his sentence.


What part of speech is getaway?

The word getaway can be a noun and an adjective. The noun form is both a means of escape and a vacation. The adjective form is the plans for an escape.


When is part-time form for laspotech isolo closing?

30 oct 2011