X button on forms

superrob5

Registered User.
Local time
Today, 22:00
Joined
May 8, 2003
Messages
99
I would like to be able to prevent a user from clicking on the X , the _ and the restore button on my form becasue I ahve error checking and sometimes this by passes it even thought it checks it.

Rob
 
In the form properties you can set these properties to no. Click the small box in the upper left hand corner of the form in design view and properties will go to form.
 
I did that when I take the border style to none. THe X goes to dim but I can still click on it. Actually now I would like to get rid of restore icon. I can only get ride of the min and max button

Rob
 
Last edited:
I know how to take out min and max on the form I want to take out the restore button on the form. AFter clicking on that link the link on that page wont open


Rob
 
Perhaps this may help.

Credit to someone else - I can' t recall who now.

Col
 

Attachments

Can you post a screen shot perhaps so that I truely understand. I have no problem eliminating all of the buttons from a form. Access 2000.
 
superrob5,

I am guessing that your form is Maximized when opened. You can not remove the forms Restore button and the forms Close X button on the form unless you set the forms PopUp property to No if the form is opened as Maximized. Be careful if you do that because the whole Access application will no longer have a Restore button or Close X button when that form is opened as Maximized and the PopUp property is set to Yes.

HTH
 
I ahve error checking and sometimes this by passes it even thought it checks it.

Your error checking is in the WRONG event. Move it to the BeforeUpdate event of the FORM. If an edit fails, you will need to cancel the update with -
Cancel = True
 

Users who are viewing this thread

Back
Top Bottom