Event 'Closing' like old Query_Unload?

T

Tom

Is the VB.NET Windows Form base class event 'CLOSING' basically like the old
VB 6 Query_Unload event? I.E. If we set the e.Cancel=True, will it cancel
the closing/unload of the form?

Tom
 
H

Herfried K. Wagner [MVP]

* "Tom said:
Is the VB.NET Windows Form base class event 'CLOSING' basically like the old
VB 6 Query_Unload event? I.E. If we set the e.Cancel=True, will it cancel
the closing/unload of the form?

Yes. The only difference is that it's not as easy to get the unload
mode in .NET.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top