FIX: Using SET COLOR TO & Printing a Report Prints Blank PageLast reviewed: February 20, 1997Article ID: Q162085 |
The information in this article applies to:
SYMPTOMSWhen using the SET COLOR OF SCHEME or SET COLOR TO command to change the foreground color of the desktop to white, any reports that are previewed or sent to the printer are blank. These commands are still used for backward compatibility. The _SCREEN.FORECOLOR and _SCREEN.BACKCOLOR commands should be used instead.
RESOLUTIONUsing the following commands instead results in the Report Writer performing properly:
_SCREEN.FORECOLOR=RGB(255,255,255) _SCREEN.BACKCOLOR=RGB(0,0,255) STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATIONThe SET COLOR OF SCHEME or SET COLOR TO commands are used to set colors in the FoxPro environment. Issuing one of the following commands changes the foreground color of FoxPro's desktop to white and the background color to blue:
SET COLOR TO w+/b SET COLOR OF SCHEME 1 to RGB(255, 255, 255, 0, 0, 150)Issuing the CLEAR command afterward changes the desktop colors. If a FoxPro report is then previewed or printed, the result is blank pages.
Steps to Reproduce Behavior
|
KBCategory: kbtool kbprg kbbuglist kbfixlist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |