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.
 

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

Back
Top