Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
macOS / Mac OS X
»
AppMenu Quit intercept
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
WebLaz corrections
by
edgarrod71
[
Today
at 03:26:46 am]
Compilation error with CP...
by
Blaazen
[
Today
at 02:48:53 am]
Freeing at destructor TLa...
by
wp
[
Today
at 01:28:43 am]
centered text in progress...
by
wp
[
Today
at 01:08:54 am]
Introducción al pascal mo...
by
GAN
[March 28, 2023, 11:55:33 pm]
JSON Schema - JSONpath
by
paweld
[March 28, 2023, 10:57:23 pm]
Help with tsearchrec
by
paweld
[March 28, 2023, 10:54:09 pm]
Limit shown hint/help to ...
by
dsiders
[March 28, 2023, 10:52:22 pm]
Find text in memo gives m...
by
Bart
[March 28, 2023, 10:44:13 pm]
Initialization of array o...
by
simone
[March 28, 2023, 09:38:55 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: AppMenu Quit intercept (Read 372 times)
chico
Newbie
Posts: 2
AppMenu Quit intercept
«
on:
October 06, 2022, 11:12:10 am »
How to intercept click on quit of the AppMenu, in order to allow user to save data...
Logged
Thaddy
Hero Member
Posts: 12933
Re: AppMenu Quit intercept
«
Reply #1 on:
October 06, 2022, 11:19:15 am »
Tform.onclosequery()
there are many examples on this forum and elsewhere.
note that e.g. a power fail, will not work if there is still data to be processed without a storage.
«
Last Edit: October 06, 2022, 11:39:25 am by Thaddy
»
Logged
In memory of Gordon Moore (January 3, 1929 – March 24, 2023) Just double the heaven every two years from now.
chico
Newbie
Posts: 2
Re: AppMenu Quit intercept
«
Reply #2 on:
October 06, 2022, 11:49:08 am »
Thanks, that's good.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
macOS / Mac OS X
»
AppMenu Quit intercept
TinyPortal
© 2005-2018