what can I use to "show do you want to save the file" msgbox
is there a on form close event or something, I couldnt find anything
If the form's close buttone is closed it should ask if we want to save the file or not, if the user want to save the file the save function should be called