Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Exit Password

Status
Not open for further replies.

mobbarley

IS-IT--Management
Mar 4, 2004
22
0
0
AU
Hi guys,

I would like to have a form (program) which requires a simple text password to be closed. Ive tried showing a dialog box on the close / terminate events but if this dialog is closed the main form also closes.

Could someone explain how this can be done or show me a sample?

Regards,
John R.
 
I suggest that you use the QueryUnload event.

Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top