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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable F10 Key

Status
Not open for further replies.

bebbo

Programmer
Dec 5, 2000
621
GB
Nothing to do with Foxpro but does anyone know if you can disable the F10 key in windows 95/98. This is causing a problem as if an operator presses the F10 key windows uses it to show a menu. This makes our program to appear as though it is froze.
 
HI BEBBO,
You can use in VFP programme, the following...

ON KEY LABEL F10 myF10dummy=""

If you want to revert bak..
ON KEY LABEL F10

By doing the myF10Dummy="", the default feature is turnd off.

Hope this helps :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Another way (as always, there is with Fox) is to say:

ON KEY LABEL F10 *

Of course this works with FoxPro, but you can't turn the
f10 key off in Windows itself. So if the FoxPro app
doesn't have focus, the F10 key will still activate the
menus.

Dave S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top