Connecting Tech Pros Worldwide Forums | Help | Site Map

Remove Ctrl Keyboard Shortcuts

Larry R Harrison Jr
Guest
 
Posts: n/a
#1: Nov 12 '05
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



DFS
Guest
 
Posts: n/a
#2: Nov 12 '05

re: Remove Ctrl Keyboard Shortcuts


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" <larrytuaz@cox.net> wrote in message
news:CQxAb.33533$9O5.24278@fed1read06...[color=blue]
> 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
>
>[/color]


Terry Kreft
Guest
 
Posts: n/a
#3: Nov 12 '05

re: Remove Ctrl Keyboard Shortcuts


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" <larrytuaz@cox.net> wrote in message
news:CQxAb.33533$9O5.24278@fed1read06...[color=blue]
> 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
>
>[/color]


Closed Thread


Similar Microsoft Access / VBA bytes