Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: HOW DO I DETECT THAT THE USER CLICKED THE TOP RIGHT WINDOW "X" CLOSE BUTTON?


Message #1 by "Sameer Premji" <spremji@y...> on Fri, 16 Mar 2001 00:54:15 -0800
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
MsgBox "You are about to close this form"
End Sub

 

thanks 
that is all for now...Mike 
(FDCO x2747) 

 

-----Original Message-----
From: Sameer Premji [mailto:spremji@y...]
Sent: Friday, March 16, 2001 2:54 AM
To: professional vb
Subject: [pro_vb] HOW DO I DETECT THAT THE USER CLICKED THE TOP RIGHT WINDOW
"X" CLOSE BUTTON?



Hi,
 
I want to display a message when a user clicks the X button to close a form.
How do I detect that X has been clicked?
 
Thanks in advance for your advice,
 
Sameer. 



  Return to Index