Microsoft KB Archive/100810
PRB: Data Entered in Edit Region Is Not Displayed Properly
The information in this article applies to:
When you are using an edit field on a screen generated by the screen generator, the edit field does not properly display data that is entered in the field. For example, if the edit field is four characters wide and the characters "ABCD" are typed in, after the "D" is typed, "BCD_" will be displayed. The cursor will occupy the fourth place in the field and the first character is shifted off the field to the left.
The edit region is not being refreshed properly.
There are three ways to work around this problem:
Steps to Reproduce Problem
1. Create a database with two character fields, one with a width of
four and the other with a width of five. Place two records in the database.
2. Create a quick screen with the screen generator. Both fields should
appear on the screen.
3. Change the first field to an EDIT object. 4. Generate the screen and execute the .SPR file with the DO command.
5. Type "ABCD" (without the quotation marks) in the first field. Note
the shifting of the "A" off the field after you type the string.
Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a text box control insertion point KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral
Last Reviewed: June 27, 1995