How to Disable Zoom (Ctrl+F8) from a form

Grant
Member Posts: 30
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/
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
-
you should really have posted it to Tips & Tricks - Perhaps the ADMIN will move it. O:)0
-
It's a simple trick but very effective.Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
[Moved to Tips & Tricks forum by Administrator]0
-
Well, there's more than one way to skin a cat...
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.Nelson Alberto0 -
I would rather disable the user role rights for it - don't exactly remember how, but possible.
Do It Yourself is they key. Standard code might work - your code surely works.0 -
If you use standard Navision Security Roles the Zoom function is only availible for the Role SUPER, so what's the problem?0
-
We are talking about selectively disabling the Tools, Zoom functionality.
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.Nelson Alberto0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions