B4J Question Is there an AppClose function?

rwblinn

Well-Known Member
Licensed User
Longtime User
Hi All,

is there an AppClose function (similiar AppStart)?
The function
  • would be executed when closing the app via system close icon or f.e assigned to a close button
  • can be used to ensure to f.e. store config data or any other routines prior closing.
 

rwblinn

Well-Known Member
Licensed User
Longtime User
Form Close and CloseRequest events.
Thanks agraham.
Have used as an example:
B4X:
' Handle form closing via system close (top right X button)
Sub MainForm_CloseRequest (EventData As Event)
    updateConfig
End Sub
 
Upvote 0
Top