[AccessD] Shortcut menu

jwcolby jwcolby at colbyconsulting.com
Tue Jun 26 07:24:36 CDT 2007


I am trying to set the shortcut menu in code.  According to the help file
the property is settable via vba.  I selected a valid menu from the combo in
the property so that I was displaying the name of a valid menu, then cut
that and pasted it into a string constant - now I have a valid menubar name
for that property.  But when I try to do the assignment statement it errors
with "invalid data type".  The data is a string (the right data type) and is
verified as the real name of a real menubar that can be manually assigned to
the property.

Any clues why this is not working?

Furthmore if I turn off the "allow default shortcut menus" in the startup
properties then I can't seem to set the shortcut menu.  Is that just a
confusing name and you are really shutting off ALL shortcut menus?  I
assumed that it would just remove the default shortcut menu but allow you to
continue setting the shortcut menus to custom menus.

What the heck is going on here?

John W. Colby
Colby Consulting
www.ColbyConsulting.com 




More information about the AccessD mailing list