BeforeDropRelation

Clear TypeAhead

This command empties out the type-ahead buffer, throwing away any keystrokes the user has entered in advance.

Usage

CLEAR TYPEAHEAD
Once in a while, you have a sensitive input item where you want to be sure the user knows what he's doing. You don't want mindless keyboarding to result in a disaster. When that's the case, you can CLEAR TYPEAHEAD just before entering the field in question. CLEAR TYPEAHEAD just before displaying a WAIT WINDOW, or any WAIT command where you really want some time to pass. CLEAR TYPEAHEAD affects MessageBox() calls as well.

See Also

InKey(), MessageBox(), Set TypeAhead, Wait


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net