473,473 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Remove Ctrl Keyboard Shortcuts

How do I disable, say, CTRL-O from opening a new database? I know how to
remove special shortcuts in startup options, and how to create custom
toolbars, but can't seem to get rid of (for instance) CTRL-O opening a new
database.

Tips?

LRH
Nov 12 '05 #1
2 2905
DFS
Larry,

You may be able to trap keystrokes from a form and suppress the default
actions. Look at the KeyPreview and KeyDown properties of a form.
"Larry R Harrison Jr" <la*******@cox.net> wrote in message
news:CQxAb.33533$9O5.24278@fed1read06...
How do I disable, say, CTRL-O from opening a new database? I know how to
remove special shortcuts in startup options, and how to create custom
toolbars, but can't seem to get rid of (for instance) CTRL-O opening a new
database.

Tips?

LRH

Nov 12 '05 #2
Look at using an AutoKeys macro for keystrokes you want to disallow
throughout the application.

e.g.
Design a new macro
Display the Macro Name column
In the the Macro Name column enter ^O
In the Action column enter Beep
Save the macro and name it AutoKeys

Now when you press the Ctrl-O combination you will get a beep instead of the
dialog.
Terry

"Larry R Harrison Jr" <la*******@cox.net> wrote in message
news:CQxAb.33533$9O5.24278@fed1read06...
How do I disable, say, CTRL-O from opening a new database? I know how to
remove special shortcuts in startup options, and how to create custom
toolbars, but can't seem to get rid of (for instance) CTRL-O opening a new
database.

Tips?

LRH

Nov 12 '05 #3

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

Similar topics

5
by: Bilal | last post by:
Hi, Is there any way to capture the action Ctrl+N (whether it in a hidden button or keyword - doesn't matter) in html, javascript or php? I appreciate any suggestions. Thank you and kind regards...
2
by: Chris Mullins | last post by:
I've seen a bunch of people post that they had troubles with this, but never saw anyone post a working solution. Shift F2 = F12 Ctrl Shift F2 = Ctrl - This seems to work well, as it jumps...
8
by: oeyvind toft | last post by:
How do I capture the ctrl keypress? Is it possible for js to intercept the ctrl-n combination and prevent the creation of a new IE window?? (Have 3 huge books on js and none of them mention...
13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
4
by: brenny | last post by:
I want to realize that pressing CTRL+C keys without keyboard by using code in the button event. How can I do? Thanks
8
by: Christian Blackburn | last post by:
Hi Gang, In most programs Ctrl+A is Select All. I'm inclined to use the most common keyboard shortcuts, whenever possible. What are the names of some programs that have a key assigned for...
1
by: kari | last post by:
Hi, I've already set the ShortcutsEnabled property to true but still cannot use keyboard shortcuts to do "copy", "cut", "paste" ,"select all", "undo" , "redo", etc. Did I miss anything?
2
by: bartlomiej.szafraniec | last post by:
Hi! I'm C# developer and I'm using Visual Studio 2005. Accidently I've pressed some keyshourtcut and now Visual Studio in source code editor now instead of spaces shows dot signs. I don't know...
21
by: Zytan | last post by:
Instead of Ctrl+Y redoing what's stored in 'future history', it REPLACES that information (which will then be forever lost) with a new command: delete current line. This shortcut is so ridiculous...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.