pro_vb thread: Re: HOW DO I DETECT THAT THE USER CLICKED THE TOP RIGHT WINDOW "X" CLOSE BUTTON?
This is a multi-part message in MIME format.
------=_NextPart_000_03DF_01C0CD7C.78C21D00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Sameer,
You can use the event - form_queryunload to trap the close of the
window. There are other options besides trapping the 'x' button click.
Check it out
regards,
Kart
----- Original Message -----
From: Sameer Premji
To: professional vb
Sent: Friday, March 16, 2001 2:24 PM
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.