AllowDesignChanges property can not be set?

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Hi,
In runtime I set AllowDesignChanges property of a form to false, but it
doesn't work.
Access (XP) tell me:
You can't assign a value to this object.
Runtime Error 2448

But in MSDN:
The AllowDesignChanges property can be set by using the form's property
sheet or Visual Basic.

Why?
Thanks
Martin
 
The property can be set programmatically, but only if the form is open in
design view.
 
Back
Top