How to Refresh an @...GET Field with a Single KeystrokeID: Q124275 The information in this article applies to:
SUMMARYThis article shows by example how to erase incorrect data entered in an @...GET field quickly by pressing a single predefined key.
MORE INFORMATIONA screen that has one or more @...GET fields can serve the purpose of a data entry screen. Such screens may need a quick method for erasing erroneous data entered into any one of the input fields. In addition, users often want a quick way to delete information from an input field without having to use the Backspace key or drag a mouse pointer across the field. The following procedure gives a method you can use to clear input field information quickly.
Step-by-Step Example1. Create a screen containing two @...GET fields and an Exit button that 2. Assign the variable name "m.getone" (without the quotation marks) to the
3. Within the Setup Code of this screen, add the following command line:
4. Save the file as WIPEOUT.SCX. Then from the Command window, type:
5. Enter the following code in WIPEOUT.PRG:
6. Save WIPEOUT.PRG. Then generate WIPEOUT.SPR from the WIPEOUT.SCX file.
7. From the Command window, type:
8. Press the TAB key to move to the second @...GET field. Notice that the
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a
KBCategory: kbprg
KBSubcategory: FxprgMacrosub
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |