how do i prevent the f1 key's help from popping up?
I've placed code on the form's key_press procedure, which captures the F1 key being pressed. I've routed this to run a sub, but then afterwards, it pops up the Help.
Try creating a macro called "Autokeys" (you can find help on setting this up in the help file by using that as the keyword). I use this to assign specific actions to a "F" key but you can use it to take an ability away also.
[blue]mcelligott[/blue] is right on target. In case your having problems setting it up . . .. do this:
[ol][li]In the [blue]Macros Window[/blue] click [purple]New[/purple].[/li]
[li]In [blue]Macro Design View[/blue] click [purple]Save[/purple]. Name the macro [purple]AutoKeys[/purple] (spelling is important).[/li]
[li]The first line in macro design view should look like the following:
Code:
[blue][tt]Macro Name Action
********** **********
{F1} StopMacro[/tt][/blue]
The brackets around F1 are the curly brackets [purple]{}[/purple][/li]
[li]Save & close the macro . . .[/li][/ol]
[blue]The F1 key should now be inactive! . . . . . [/blue]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.