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

escape key does not function

Status
Not open for further replies.

romipipi

Programmer
Feb 25, 2004
4
FR
i am working under win98 FRENCH Version, when the Caps Lock of my keyboard is engaged the escape key does not function anymore.
 
I'm afraid that's an OS problem - not FoxPro's. If the OS doesn't provide the information to FP, it can't respond to it!

Out of curiosity is this FoxPro DOS or FoxPro for Windows? 1.x, 2.0, 2.5, 2.6?

Rick
 
Can you try this

* set all the necessary environment
set echo off
set talk off
set escape off

do while .t.
i = inkey(5)
? i
if i = 88 && Press Capital X to exit
exit
endif
enddo

Please post your findings.

Nasib Kalsi
Try it.
 
Please post after using the test solution.
Try all keys and find out which key produces code 27(Esc).
If you can not find any then try Alt+027 in your application.

Many times, when the keyboard layout does not match with the system set layout, you will receive mapped chars not necessarily what is printed on the keyboard.

Nasib Kalsi
Try it.
 
Well, I resolved the problem by switching to win Xp.
To engage Caps Lock under Win98 I press Caps Lock, to go back to small letters I had to press Shift and not Caps Lock again; which is not the case under win XP.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top