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
 
Back
Top