Looking for the equivalent of from_Query unload...and testing the UnloadMode

  • Thread starter Thread starter Helene Day
  • Start date Start date
H

Helene Day

In VB6,

I used to have something like:

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)

If UnloadMode = vbFormControlMenu Then
'''' other logic here...etc...
Cancel = 1
Else


What is the equivalent in VB.Net ...

Thanks for your help,

Helene
 

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

Back
Top