FIX: MODIFY MEMO Command Ignores IN WINDOW Clause

Last reviewed: October 29, 1997
Article ID: Q161186
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0

SYMPTOMS

Visual FoxPro 5.0 ignores the IN WINDOW clause of the MODIFY MEMO command. The memo's window appears outside the parent window. Visual FoxPro 3.0b and FoxPro 2.x respect this clause. In those versions, the memo window appears within the parent window.

RESOLUTION

The MODIFY FILE... IN WINDOW command functions properly. Use the COPY MEMO command to place the contents of the memo field into a text file. Then display the text file with the MODIFY FILE command.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0a.

MORE INFORMATION

The following program illiterates this behavior.

Steps to Reproduce Problem

  1. Create a program containing the following code:

    IF 'Visual'$VERS()

          USE HOME() + 'samples\data\employee'
    
    ELSE

          USE HOME() + 'tutorial\salesman'
    
    ENDIF DEFINE WINDOW Test FROM 1,1 TO 25, 70 ;

        SYSTEM FLOAT GROW CLOSE Title "Test"
    
    ACTIVATE WINDOW Test MODIFY MEMO notes IN WINDOW Test USE

  2. Run the program. Notice the window containing the memo appears outside the window called Test.


Additional query words: window
Keywords : buglist5.00 FxprgUdwindow vfoxwin vfpfix5.0a kbprg kbbuglist kbfixlist
Version : 5.0
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbfix


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: October 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.