RE: Access 2003
I wanted to turn off right clicking on forms so users couldn't go into
design mode and change stuff.
I have a special "programmer s' form that, when a password is put in,
enables F11 so I can go modify objects in the container.
Now I cannot even right click in the container.
I tried looping through the forms and resetting the shortcut menu
property to "Yes". This did not work and I still cannot right-click on
my forms or the DB container.
Does anyone have an example of code that would reset this property
across all forms and the container as well?
Here is the code I have so far that does not work correctly:
Dim frm As Form
For Each frm In Forms
Debug.Print frm.Name
frm.ShortcutMen u = True 'allow right clicking on all forms
Next frm
thnx...
*** Sent via Developersdex
http://www.developersdex.com ***