Command button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a command button to exit the entire database but find that the
users of the database are in the habit of exiting by using the
upper-right-hand X to close out of the basic form screen and then use the
same method to exit the application. Should I try to change this "ingrained
behavior"? Is it harmful?
Thanks Cheese
 
No it isn't harmful. Your only concern should be if you have any code that you want run when your application closes (i.e. you have something more than 'quit' behind that command button). If that is the case, you can move that code to the unload event of your form - it will run regardless of the method they choose to close.

If this isn't an issue though, there is nothing wrong with closing the application using the standard X close button.
 
Back
Top