This is a best practice question.
Should there be a module that, when someone just closes the DB via say the X in the top corner, to handle all the forms closing and unloading? I have a couple users that love to just close the DB when they are done rather then backing out of it and closing it like I would expect a normal person to. Most of my forms open and close each other while setting focus back and forth so when this is done it causes a bunch of errors I have to try and manage so it doesn't just go haywire on the person.
I figured trying to outright disable the close button wouldn't be a good design (if it can be done) as I don't like overriding basic Windows functions.
Should there be a module that, when someone just closes the DB via say the X in the top corner, to handle all the forms closing and unloading? I have a couple users that love to just close the DB when they are done rather then backing out of it and closing it like I would expect a normal person to. Most of my forms open and close each other while setting focus back and forth so when this is done it causes a bunch of errors I have to try and manage so it doesn't just go haywire on the person.
I figured trying to outright disable the close button wouldn't be a good design (if it can be done) as I don't like overriding basic Windows functions.