AllowDesignChanges property can not be set?

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
 
A

Allen Browne

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

Top