I've seen a few posts where it says that it is impossible to disable the ZOOM feature, Ctrl+F8, from a form in Navision without disabling the ZOOM privileges for all forms. But - there is a way to do it, quite simple really.
Just add a new MenuButton to the form, and add a new option. Caption can be anything you want, for example "Disable ShortcutKey". Then define the ShortCutKey to Ctrl+F8, but do not define any lookup action. This will override the default Ctrl+F8 behaviour. What I did is to resize this new MenuButton small enough so I can hide it behind one of the other existing Buttons on the form (use Format->Send to Back to hide it).
\:D/
0
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
Take a look at this alternative:
http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=8381
Besides, your way doesn't stop a User from using the Tools menu and selecting Zoom.
It just prevents the User from calling the Zoom window through its keyboard shortcut.
Do It Yourself is they key. Standard code might work - your code surely works.
Object Type::System and Object ID 5330 in the permissions table controls this feature.
Everyone knows it can be disabled globally through Permissions.
Almost no one knows it can also be done on a per-table basis.
Read the thread in my link above to find how it can be achieved.