micrsoft Access Close Button

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

Guest

is it posible to disable the main Microsoft Access Close button on the window
frame ( Red X )
 
No, but you can stop the application from closing if people click on it.

1. Open a form in invisible mode as the first form that opens with your
application.
2. In that form's Open Event set a boolean variable (you can call it
something like OkToClose) to False. Cancel the close of this form if the
variable is False.
3. Use a close button on your main menu form that sets the value of that
variable to True only when the button is clicked.


--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Access Junkie List:
http://home.bendbroadband.com/conradsystems/accessjunkie.html
 
Is it possible though to disable those maximise and minimise buttons, or even
hide them completly (last bit includes the close button) not on the forms I
know how to do that
 
in the Form properties go at:
Form Tab>>>Min Max Buttons: Select NONE
and to disable the RED X
Form Tab>>>Close Button: Select NO


Thanks

Lorenzo Díaz
Cad Technician
 
this is for the main access window

ldiaz said:
in the Form properties go at:
Form Tab>>>Min Max Buttons: Select NONE
and to disable the RED X
Form Tab>>>Close Button: Select NO


Thanks

Lorenzo Díaz
Cad Technician
 
Back
Top