Hi,
I noticed that ExitApplication doesn't trigger Form_Closed and Form_CloseRequest like in this example:
You can check the uploaded file. Thank you.
Regards
Jmon
I noticed that ExitApplication doesn't trigger Form_Closed and Form_CloseRequest like in this example:
B4X:
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Main") 'Load the layout file.
MainForm.Show
End Sub
Sub btnClose_Action
ExitApplication
End Sub
Sub MainForm_CloseRequest (EventData As Event)
Log("Close request")
End Sub
Sub MainForm_Closed
Log("Closed")
End Sub
You can check the uploaded file. Thank you.
Regards
Jmon