G
Guest
Like many before me I need my users to close most of my forms by clicking on
a Close button on these forms. I have seen how to prevent the Access
application window from closing by using the OkToClose trick in the Unload
event of a hdden form. But what I have not been able to find is a way to
prevent my user from closing any form by simply right-clicking on the form
name in the task bar and then selecting Close. I understand that the
OkToClose option would also work here, but this is simply not practical,
since it also prevents the form from switching to design view during
development. I can't figure out why, if the forms 'X' is disabled, it is
still enabled in the task bar. Is there any way to programmatically disable
these options in the task bar?
Thank You!
Paul
a Close button on these forms. I have seen how to prevent the Access
application window from closing by using the OkToClose trick in the Unload
event of a hdden form. But what I have not been able to find is a way to
prevent my user from closing any form by simply right-clicking on the form
name in the task bar and then selecting Close. I understand that the
OkToClose option would also work here, but this is simply not practical,
since it also prevents the form from switching to design view during
development. I can't figure out why, if the forms 'X' is disabled, it is
still enabled in the task bar. Is there any way to programmatically disable
these options in the task bar?
Thank You!
Paul