473,395 Members | 1,815 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,395 software developers and data experts.

Shortcut Menus

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 reconstruct
the one you want as a custom menu/shortcut(popup)/toolbar.

All this was a long journey in order to allow the user to sort/copy on
a datasheet view of a subform, with all the menus disabled in the
startup options.

I wanted to replace the built-in shortcuts when you right click on a
subform cell, row, or column and replace it with a custom menu. And I
discovered that there is more than one menu.

Following are the shortcut menus in question:

When Forms are used as Forms Only (Datasheet or Form View)
-------------------------------------------------
Datasheet View Column
Sort Ascending
Sort Descending
---------------
Copy
Paste
---------------
Column Widths
Hide Columns
Freeze Columns

Datasheet View Row
New Record
Delete Record
---------------
Cut
Copy
Paste
---------------
Row Height

Datasheet View Cell
Filter By Selection
Filter Excluding Selection
Filter For:
Remove Filter/Sort
---------------
Sort Ascending
Sort Descending
---------------
Cut
Copy
Paste
---------------
Insert Object
Hyperlink

When Forms are used as subforms Only
-------------------------------------------------------------------------
Datasheet View Subform Column (seem to replace "Datasheet View Column"
Subform Datasheet
---------------
Sort Ascending
Sort Descending
---------------
Copy
Paste
---------------
Column Widths
Hide Columns
Freeze Columns

Datasheet View Row (Same as above)
Datasheet View Cell (Same as above)

Now, if you disable shortcut menus in startup options and assign a
custom menu to a form, and if the form is used as a subform in
datasheet view, the custom menu will show only if you do row or cell
operations. Since it is a subform now, clicking on the column invokes
the "Datasheet View Subform Column", which it is disabled, so you will
not see a menu.

Using a form as a subform seems to revoke the "Datasheet View Column"
shorcut menu and points a column click to the "Datasheet View Subform
Column" shortcut menu.

This is confirmed by creating a simple form and viewing it in Datasheet
View, all the above shortcut menus are available except the "Datasheet
View Subform Column". Naturally, since the form is not being used as a
subform.

However, when you use the form as a subform in datasheet view the row
and cell menus are still available, but the "Datasheet View Column"
shortcut menu is now replaced with "Datasheet View Subform Column"
shortcut menu.

When shortcut menus are disabled with the startup options, and you've
assigned to the form your custom shortcut menu, row and cell operations
show the custom shortcut menu, however, since the built-in shortcuts
are now disabled a column click (which now points to "Datasheet View
Subform Column") does not work, in fact no shortcut is displayed.

So the question is, Is there a way to replace the "Datasheet View
Subform Column" with a custom menu and have it displayed appropriately?

This way, the user can right click on column, row, or cell and the
appropriate custome menu will show up. Users (IMHO) are more familiar
with right clicking columns to sort etc.

The subform doesn't have a shortcut menu bar property like the form, so
I am at a loss.

TIA

Nov 13 '05 #1
0 3514

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...
1
by: deko | last post by:
I've found that the "Remove Filter/Sort" selection in the Shortcut menu (displayed on right click) produces ugly, untrappable errors, even though "Allow Filters" is set to No in the subform. ...
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...
0
by: MacDermott | last post by:
I have a main form with a subform in datasheet view. When I right-click anywhere on the subform, I would like to display a custom shortcut menu. I have created my shortcut menu, and have set the...
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...
10
by: Michael Maes | last post by:
Hi, I want to have a Button.Click event 'raise' a shortcut. If eg Button1 is Clicked, I want to have a shortcut 'CTRL + F12' activated. What's the best way to acchieve this. TIA, Michael
0
by: ARC | last post by:
Hello all, For right-click (shortcut) menus in access 2007, I've been using a round-about method of opening access 97 on an old computer, modifying my own custom shortcut menus, then importing...
0
by: Jim Devenish | last post by:
I have successfully added shortcut menus to Forms but I am now having difficulty when I attach a shortcut menu to a text control. I have a shortcut menu entitled 'CalendarEntries' with one command...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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.