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

Any way to trap keystrokes while in @ Get 1

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
0
0
US
Stuck with using FoxPro DOS for this old project. Valid checks for tab, return, etc. I would like to emulate autotab by keyboarding a tab when the string is full. I tried using On Key DO PROCNAME but that doesn't seem to be active during the read portion.

Any ideas or suggestions would be greatly appreciated!

Have a great day!

 
As far as i know the only way is SET CONFIRM OFF and put an inkey() trap in the object valid clause to so as to control the cursors flow.

Hope this helps
 
Thanks CP84. That did the trick. Elsewhere in the code Confirm had been set to ON. Have a star for your helpfulness!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top