Close button

A

ali

Is it possiable to trun the form CloseButton off at the open form time and
turn it on in the middle of program after a Command Button is pushed. I tried
the following code and I get an error massage.

Me.CloseButton = True
 
M

Marshall Barton

ali said:
Is it possiable to trun the form CloseButton off at the open form time and
turn it on in the middle of program after a Command Button is pushed. I tried
the following code and I get an error massage.

Me.CloseButton = True


If that's a command button you added to the form, you can
disable it:

Me.CloseButton.Enabled = True ' or Flase
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top