BUG: After Editing Memo Field Cursor Moves to 1st GET Object

Last reviewed: April 17, 1995
Article ID: Q92958
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5x, 2.6, 2.6a

SYMPTOMS

After the user edits a memo field, the cursor automatically returns to the first GET object on the current screen when the user edits the memo field in a GET field or in a separate window. When the memo field is edited in an edit region, the cursor remains in the memo field after editing is complete.

RESOLUTION

To return the cursor to the memo field after editing is complete, do one of the following:

  • In the Screen Builder, specify the field as an EDIT field instead of a GET field.

    -or-

  • Add a valid clause to the GET statement for the memo field, as follows:

          GET memofield VALID movecur()
          READ
    

          PROCEDURE movecur
          _curobj=_curobj
    

    To place the cursor on the field following the memo field, change the "_curobj=_curobj" statement in the movecur procedure to read as follows:

          _curobj=_curobj+1
    

    -or-

  • Open the Windows Control Panel, choose the Fonts icon and install FOXFONT.FON. You must distribute FoxFont with your .EXE files so that the Browse windows, list boxes, and other objects will maintain their correct positions.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: FoxDos buglist2.00 buglist2.50 buglist2.50a
buglist2.50b buglist2.60 buglist2.60a 2.00 2.50 2.50a 2.50b 2.60 2.60a
KBCategory: kbprg kbbuglist
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.