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
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
how to update application...
by
Packs
[
Today
at 07:44:33 am]
Q about subverting type c...
by
440bx
[
Today
at 07:43:33 am]
FClass<TArray<Char>> can ...
by
TRon
[
Today
at 07:37:50 am]
How to use Quartz 2D (Cor...
by
daniel_sap
[
Today
at 07:27:45 am]
Cant interact with Main F...
by
Thaddy
[
Today
at 06:59:57 am]
Ubuntu Mate / Laz 2.2.6 /...
by
Thaddy
[
Today
at 06:55:52 am]
FPC on Web3
by
Thaddy
[
Today
at 06:30:53 am]
Does the Alt-Brackets key...
by
Thaddy
[
Today
at 06:21:03 am]
[resolved]How to use Chin...
by
jianwt
[
Today
at 04:58:21 am]
Quiche (and BoringSSL) bi...
by
TRon
[
Today
at 03:54:19 am]
qt5: can't install trunk ...
by
vfclists
[
Today
at 03:51:53 am]
Common File Dialogs Have ...
by
mas steindorff
[
Today
at 02:37:01 am]
NON(!)-EXE FFPlay4Laz
by
TRon
[
Today
at 12:36:28 am]
[Solved] Package Laz_Syna...
by
Aruna
[
Today
at 12:31:21 am]
ZenGL Update +android + M...
by
Seenkao
[
Today
at 12:16:01 am]
Can't compress JPEG image...
by
wp
[October 09, 2024, 11:10:30 pm]
New Big Integer library i...
by
Bart
[October 09, 2024, 10:17:50 pm]
Trivial 64 bits maths
by
MarkMLl
[October 09, 2024, 07:40:21 pm]
Free Pascal releases
by
Thaddy
[October 09, 2024, 07:03:01 pm]
Opacity of BGRA TBCPanel ...
by
kirchfritz
[October 09, 2024, 06:22:44 pm]
Simulating a "Zen mode" i...
by
Martin_fr
[October 09, 2024, 05:42:29 pm]
[Feature] High level Vari...
by
Thaddy
[October 09, 2024, 04:50:37 pm]
Installation on Sequoia
by
pat03uk
[October 09, 2024, 04:05:49 pm]
Error printing to zebra p...
by
Blacha
[October 09, 2024, 02:32:50 pm]
Simple confirmatory quest...
by
rvk
[October 09, 2024, 02:19:50 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: AppMenu Quit intercept (Read 1036 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: 15706
Censorship about opinions does not belong here.
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
If I smell bad code it usually is bad code and that includes my own code.
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