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

mouse dosent work when Esc key pressed

Status
Not open for further replies.

adcounsel1

Programmer
Jan 27, 2005
46
PK
Dear All

I am facing a serious issue that mouse works fine within vfp program but when ever Esc key pressed, mouse dosent work. If i exit the menu then again mouse work fine.

What will be the reason, becoz it cause very much irritation at client end while working.

Thanks

Hashim
 
Hashim,
What version and service pack of VFP are you using? What code do you use that effects the mouse and ESC? (e.g. ON ESCAPE, SET ESCAPE, MOUSE, AMOUSE()ON KEY LABEL, etc.)

Are you using any framework?

Rick
 
Dear Rick

I use vfp6 and dont use frames. Program works fine but when ever esc key pressed mouse stop working and when i exit the program menu, it again work fine untill i press esc again.

Thanks

Hashim
 
Hashim,
Are you using Service Pack 5? While I don't remember this as being a problem in earlier version of VFP, I don't see this happening in SP5.

Rick
 
Dear

I have tried the SET Esc off, but the problem is the saim, whenever I press Esc key mouse dosent work, but when i exit the menu, again it works fine.

Is it makes any diff to use service pack 5, please define

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top