Microsoft KB Archive/95379

{| = SET INTENSITY Not Ignored by Windows; Error in Lang Ref =
 * width="100%"|

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 &quot;FoxPro Language Reference&quot; 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
 * }