Solved

Exit Procedures

Posted on 1998-03-31
1
148 Views
Last Modified: 2010-04-06
Hi,
     How do you get the application to use the exit procedure when closing by going to the top - left icon and choosing close? I have written exit code for File -Exit, and I want to make sure this is used however the user quits the app.
Cheers.
PS. I need to know the same thing for the cross in the right hand corner of an app.
0
Comment
Question by:PiersBull
1 Comment
 
LVL 4

Accepted Solution

by:
d003303 earned 50 total points
ID: 1361119
Hi,
use the Forms OnCloseQuery Event.

Cheers,
Slash/d003303
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
code issue 8 99
Create Database on Android via Delphi dbExpress 3 79
Delphi Form ownership 4 70
Strange behavior when a form is closed 6 51
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now