Closing a form

Smart

Registered User.
Local time
Today, 00:09
Joined
Jun 6, 2005
Messages
436
When a form is open you can also see on the task bar that the form is open
If the user right clicks on the form(on the task bar ) they get the following options minimize , maximise , close.

Does any one know how I can stop the user selecting Close please ?
 
yes, go into design mode for the form. Then go to properties for that form. There is a Close Button Option (Yes/No) under format.
 
RE : Closing a form

Sorry I didn't make it very clear perhaps the attached screen shot will make it a bi clearer.

The only way that the user can close the form is by completeing all the fields and clicking on the Add Button or by clicking on the cancel button.

The X has been disabled both on the form and on the database window and the file option on the menu bar has the exit choice disabled.

However if the go down to the task bar and right click on the form (see screen shot) and select close the form closes and writes a partial record.

Is there a way to stop this ?
 

Attachments

Last edited:
If you go to Tools -> Options -> View and remove the check for "Windows in Taskbar", your form will not appear in the taskbar.
 
RE : Closing a form maxmangion

Works a treat max

Cheers
 
Re closing form

Max It works on my pc but when the database is placed on other pc's it doesn't carry the the change over.
Is there any way to code this in VB ?
 

Users who are viewing this thread

Back
Top Bottom