nobbi59 Active Member Licensed User Longtime User Apr 26, 2018 #1 Hello, is there a way to block the Close Request of a form? I want to ask the user to save his changes when closing the Application but cant find a way to block the form close request.
Hello, is there a way to block the Close Request of a form? I want to ask the user to save his changes when closing the Application but cant find a way to block the form close request.
Daestrum Expert Licensed User Longtime User Apr 26, 2018 #2 B4X: Sub mainform_CloseRequest (EventData As Event) EventData.Consume ' do your checking here ' then call mainform.close End Sub Upvote 0
B4X: Sub mainform_CloseRequest (EventData As Event) EventData.Consume ' do your checking here ' then call mainform.close End Sub
nobbi59 Active Member Licensed User Longtime User Apr 26, 2018 #3 Thank you @Daestrum thats what i was looking for. Upvote 0