SET INTENSITY Not Ignored by Windows; Error in Lang Ref

ID: Q95379

The information in this article applies to:

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

Last Reviewed: June 27, 1995