Microsoft KB Archive/318261

= FIX: Grid Lines Assume the Windows Font Color =

Article ID: 318261

Article Last Modified on 4/10/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 7.0 Professional Edition

-



This article was previously published under Q318261



SYMPTOMS
The grid lines that surround a Visual FoxPro 7.0 grid assume the color of the Windows font. These lines should remain black regardless of the color that is assigned to the Windows font.



RESOLUTION
To resolve this problem, obtain the latest service pack for Visual FoxPro for Windows 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

316964 How to Obtain the Latest Visual FoxPro for Windows 7.0 Service Pack



STATUS
Microsoft has confirmed that this is a problem in Microsoft Visual FoxPro for Windows 7.0.

This problem was first corrected in Visual FoxPro for Windows 7.0 Service Pack 1.



MORE INFORMATION
 In Control Panel, double-click Display, and then click the Appearance tab. Click Advanced, and then change the Window color to white and the Font color to blue.  Paste the following code in a program (.prg) file named Test, and then run the program from the Command window: CREATE TABLE temp (f1 c(10)) INSERT INTO temp VALUES( &quot;aaa&quot;) oform=CREATEOBJECT(&quot;form&quot;) oform.addobject(&quot;grid1&quot;,&quot;grid&quot;) oform.grid1.recordsource=&quot;temp&quot; oform.grid1.visible=.t. oform.show(1) 

Note that the grid lines that surround the grid object are blue. These lines should appear black.

Keywords: kbbug kbfix kbvfp700sp1fix kbcodesnippet kbcontainer kbctrl KB318261

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.