473,399 Members | 3,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Shortcut menu bar question

A97. If you set a forms properties to ShortcutMenu = No, the entire
form is disabled from displaying a shortcut menu.

If you set the property to Yes, all controls have a shortcut menu.

I have a form that I would like a shortcut menu on 1 control and no
shortcut on any other control in the form. But the controls that have
no shortcut display a default shortcut.

Access help states " If you set the ShortcutMenuBar property to a value
that isn't the name of an existing shortcut menu or menu bar macro, the
form, form control, or report won't have a shortcut menu (the default
shortcut menu won't be shown)."

Can someone explain that? For grins, I entered
NoShortcutMenu
and instead of displaying nothing it displayed an error message
complaining about the macro not being found.

Is this something trapped with a mouse-down event?

Nov 12 '05 #1
4 8813
> A97. If you set a forms properties to ShortcutMenu = No, the entire
form is disabled from displaying a shortcut menu.

If you set the property to Yes, all controls have a shortcut menu.

I have a form that I would like a shortcut menu on 1 control and no
shortcut on any other control in the form. But the controls that have
no shortcut display a default shortcut.

Access help states " If you set the ShortcutMenuBar property to a value
that isn't the name of an existing shortcut menu or menu bar macro, the
form, form control, or report won't have a shortcut menu (the default
shortcut menu won't be shown)."

Can someone explain that? For grins, I entered
NoShortcutMenu
and instead of displaying nothing it displayed an error message
complaining about the macro not being found.

Is this something trapped with a mouse-down event?


I have a form where I use the full shortcut menu on some *subforms* and a
limited shortcut menu on other subforms (Access 2003). To accomplish this I
set the "Shortcut Menu" property on the parent form to "Yes" (leaving the
"Shortcu Menu Bar" property blank), and then set the "Shortcut Menu Bar"
property on the subform to "MyCustomMenuBar" where I want to limit the menu
selections. I have not needed to create different menu bars (Tools >>
Customize >> Toolbars) for different controls on the same form, but that's
what I would suggest trying.
Nov 12 '05 #2
deko wrote:
I have a form where I use the full shortcut menu on some *subforms* and a
limited shortcut menu on other subforms (Access 2003). To accomplish this I
set the "Shortcut Menu" property on the parent form to "Yes" (leaving the
"Shortcu Menu Bar" property blank), and then set the "Shortcut Menu Bar"
property on the subform to "MyCustomMenuBar" where I want to limit the menu
selections. I have not needed to create different menu bars (Tools >>
Customize >> Toolbars) for different controls on the same form, but that's
what I would suggest trying.


But you still have a shortcut.

Access help states " If you set the ShortcutMenuBar property to a value
that isn't the name of an existing shortcut menu or menu bar macro, the
form, form control, or report won't have a shortcut menu (the default
shortcut menu won't be shown)."

If I am reading this correctly, no shortcut should be displayed. The
help file does not have an example on how to implement this.

If I enter ="" or =False, I get an empty button menu. Now if I could
make that button invisible that'd be great.
Nov 12 '05 #3
> If I enter ="" or =False, I get an empty button menu. Now if I could
make that button invisible that'd be great.


Using an empty menu bar has the same result - not sure if it can be made
invisible. The button won't do anything, so that's close enough for me.
Nov 12 '05 #4
Hum...you might be able to trap the error.

However, the simple solution to me seems rather simple:

make a blank menu bar (call it blank1).

Then, for the form..just specify the blank1 for the shortcut...and then for
that one control just specify the other shortcut menu you want....

You could also perhaps have the right click launch help..or perhaps sorting
else of use..like launch the calculator or something. (since, if you do
leave it blank..then right click does give you a grey square..but that is
not really a problem...and as mentioned..if it is a problem..then make the
right click launch the calculator..or something else of use).
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
pl******************@msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Lex | last post by:
I am writing a C# app that has a Menu. Some of the menu items will have short cuts that do not exist in the Shortcut enum. I would like the custom shortcuts to appear on the menu but as far as I...
3
by: Terry Bell | last post by:
I have some code that adds entries to the "Module Compiled" popup menu. Works fine in A97. You can open a module, right click, and the new entries are there for you to click. I converted it to...
4
by: Salad | last post by:
A97. If you set a forms properties to ShortcutMenu = No, the entire form is disabled from displaying a shortcut menu. If you set the property to Yes, all controls have a shortcut menu. I have...
2
by: JMCN | last post by:
hi i'm having a problem with the customize a shortcut menu. i read the ms office assistance: customize a shortcut menu/delete a command or add to a shortcut menu and followed the simple...
5
by: Steven | last post by:
I have some text boxes on a form in MS Access 2000. When I right click in them I don't get any shortcut menu at all. I want the normal cut, copy, and past menu to come up. In the "Startup", I...
0
by: cefrancke | last post by:
I recently discovered, that if you set the startup options for "security", you will have alot of work do to get Access back to "normal". If you disable the built-in menus/toolbars you'll have to...
0
by: Marcel | last post by:
Hi, the application I am writing has a MainMenu and a DataGrid (UltraGrid). Now I have to edit the text of each cell in this grid. So far so good. All works fine in editmode but if I press a...
2
by: newbie_csharp | last post by:
Hi, is there anyway to set AltN in shortcut property? thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.