SET INTENSITY Not Ignored by Windows; Error in Lang Ref

Last reviewed: June 27, 1995
Article ID: Q95379
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

Page L3-942 of the "FoxPro Language Reference" states that SET INTENSITY is ignored in FoxPro for Windows. This is not the case.

MORE INFORMATION

In FoxPro for Windows, SET INTENSITY specifies if a Windows color setting is used for editing regions created with @ ... GET. When INTENSITY is ON in FoxPro for Windows, the background color of an editing region created with @ ... GET is determined by the Windows color setting for button faces. This color can be changed by choosing the Colors icon in the Windows Control Panel.

ON is the default setting. In FoxPro for MS-DOS and FoxPro for Windows, the normal screen attribute is used if SET INTENSITY is OFF.

Example

   SET INTENSITY OFF
   @ 3,4 GET MVAR DEFA 1      && Normal screen attribute used.
   READ

   SET INTENSITY ON
   @ 3,4 GET mvar DEFA 1     && Enhanced screen attribute.
   READ


Additional reference words: FoxWin 2.50 2.50a colors
KBCategory: kbprg kbdocerr
KBSubcategory: FxprgGeneral


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.