Recent

Author Topic: AppMenu Quit intercept  (Read 295 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...

Thaddy

  • Hero Member
  • *****
  • Posts: 12623
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 »
The only thing I can say about Putin - born st Petersburg- is that he is indeed Russian, as opposed to Stalin, who was Georgian. Depending of historical time frame they could both be Lithuanian or Polish...even German. Shut him up!

chico

  • Newbie
  • Posts: 2
Re: AppMenu Quit intercept
« Reply #2 on: October 06, 2022, 11:49:08 am »
Thanks, that's good.

 

TinyPortal © 2005-2018