Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cancel F1 hot-key 3

Status
Not open for further replies.

nirs

IS-IT--Management
Apr 4, 2003
37
0
0
IL
hi
does anyone know how can i cancel
"HELP" activation while pressing F1

thank you

 
I think I'd consider creating an AutoKeys macro (look it up in the help files), I think the syntax for the MacroName arguement is: {F1}.

Roy-Vidar
 
thread702-976401

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
How are ya nirs . . . . .

[blue]RoyVidar[/blue] is on target!

In the [blue]Macros[/blue] window:
[ol][li]Click '[blue]New[/blue]'.[/li]
[li]Click '[blue]Save[/blue]', set name to [purple]AutoKeys[/purple] (spelling is important!).[/li]
[li]Set the following:
[tt][blue]MacroName Action
********* **********
{F1} StopMacro
[/blue][/tt][/li]
[li]Click save & close.[/li][/ol]
Note: the brackets around F1 are the [blue]curly brackets![/blue]

Try '[blue]F1[/blue]' . . . . [blue]shouldn't work . . .[/blue]

Calvin.gif
See Ya! . . . . . .
 
RoyVidar, Aceman1,

Brilliant as ever. simple and effective and it even works to disable the F11 key too.

a star each i think


"My God! It's full of stars...
 
Still Macro has a place its own! Or does it can be replaced with KeyDown/KeyPress Event?
just curios!!

________________________________________
Zameer Abdulla
Visit Me
The best thing to spend on your child is your time.
 
The key events work only on forms or controls, so if you want to suppress/react to the keys hit also on reports, you'll need the AutoKeys macro.

Roy-Vidar
 
That makes sense. thanks RoyVidar
Also noticed after creating/using a AutoKeys macro if you delete it Access will bomb
Microsoft Access can't find Macro "AutoKeys"
............

Is there anything that I am missing?

________________________________________
Zameer Abdulla
Visit Me
The best thing to spend on your child is your time.
 
Close and reopen the database after deleting the macro.

Roy-Vidar
 
Great!!


________________________________________
Zameer Abdulla
Visit Me
The best thing to spend on your child is your time.
 
There is better ways to disable F11 see faq's. the shift key bypass macros

Never give up never give in.

There are no short cuts to anything worth doing :)
 
I can not find it now (need to doo larger search) But this one is available as a download from robotparade.co.uk it will stop users bypassing the shift key. Database file that enables or disables the Bypass Shift Key property in other databases. It is wery good and quick. Also look at other useful items.

PS it saves writting code.

Never give up never give in.

There are no short cuts to anything worth doing :)
 
assets . . . . .

As I suspected. The link is fine for disabling the [blue]Shift Key[/blue], but this thread was about the [purple]F1 Key![/purple]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top