Close button

  • Thread starter Thread starter ali
  • Start date Start date
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
 
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
 
Back
Top