Solved

Exit Procedures

Posted on 1998-03-31
1
150 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Strange behavior when a form is closed 6 68
LAN or WAN ? 11 105
Tembedded WB animatid gifs not animated on some pcs 2 85
How to build JSON File in Delphi 6 3 68
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

713 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