BillyB
08-27-2001, 11:41 AM
I want to prevent the user from seeing anything except the main form. I am able to handle everything except 1. On the unload of the main form is issue a cancel event which prevents them from going anywhere. The two exceptions are on the access application: file..Exit and clicking the X in the upper right corner. Any ideas on how I can identify that the user did one of these two things that caused the form unload event procedure?
Why not prevent them from using the other two options?
bill crumpton
08-27-2001, 01:16 PM
Rich,
How do you disable the "X" button on Microsoft Application window?
BAC
bill crumpton
08-27-2001, 01:17 PM
Rich,
How do you disable the "X" button on Microsoft Application window?
BAC
joeyreyma
08-27-2001, 04:19 PM
Billy,
Surely you cannot disable the "X" button on the Access Application window with a simple code but you can set the the Modal and PopUp property of the main form to True so that they could be inaccessible.
joie
[This message has been edited by joeyreyma (edited 08-27-2001).]
jwindon
08-27-2001, 04:50 PM
Modal On will not stop you from accessing the menu or the X on the app window.
I've seen this on the forum recently. You can only do it with VB. I wasn't able to get the Code to work myself, but you can read and give it a try yourself.
The thread is:
http://www.access-programmers.co.uk/ubb/Forum1/HTML/004579.html