Dialog box before closing

save

How can I add this functionality to xojo?

Use the Window.CancelClose event to present this dialog and react according to the result.

https://documentation.xojo.com/api/deprecated/window.html#window-cancelclose

1 Like

Take a look at the MessageDialog class.
http://documentation.xojo.com/api/language/me.htmlssageDialog