FIX: @ ... CLEAR Does Not Repaint Screen with New Color

Last reviewed: October 20, 1997
Article ID: Q110363
2.50b MACINTOSH kbprg kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft FoxPro for Macintosh, version 2.5b

SYMPTOMS

Issuing @0,0 CLEAR does not clear the screen with a new color until a refresh event is executed.

RESOLUTION

Instead of using 0,0 for the coordinates, issue the following command

   @ 0.1, 0.1 CLEAR

or issue the CLEAR command by itself.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Macintosh.

MORE INFORMATION

Steps to Reproduce Behavior

Issue the following commands in the Command window:

   SET COLOR TO W+/B     && This will change background color to blue
   @ 0, 0 CLEAR          && This should paint the whole screen in blue

Note that the screen does not change its color. In order to change the color, the screen must be resized or closed and then reopened.


Additional reference words: FoxMac 2.50b color clear fixlist3.00b
buglist2.50b
KBCategory: kbprg kbfixlist kbbuglist
KBSubcategory:
Keywords : kbbuglist kbfixlist kbprg
Version : 2.50b
Platform : MACINTOSH
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 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.