Microsoft KB Archive/83759

= FIX: Grid Cell Border May Not Display with Some BackColors =

Article ID: 83759

Article Last Modified on 10/30/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows

-



This article was previously published under Q83759



SYMPTOMS
There are some BackColor property values for the Grid custom control that will cause the cell borders to become invisible. The borders of Grid cells are light gray. If you set the BackColor of the Grid to light gray, you will not be able to distinguish the borders from the background of the Grid control.



WORKAROUND
To work around this behavior, you should change the Grid default BackColor(&H00000000&) to a color other than light gray.



STATUS
Microsoft has confirmed this to be a bug in the Grid custom control supplied with the products listed above. This problem was corrected in the Grid custom control shipped with Microsoft Visual Basic version 3.0 for Windows.



Steps to Reproduce Behavior
There are two ways to lose the outline of Grid cell borders:


 * Set the Grid BackColor property, at design time or run time, to light gray (&H00C0C0C0&).
 * Set the Windows Background color to gray from the Windows Control Panel. Note that users of your application may encounter this behavior simply by customizing the window colors from the Windows Control Panel.

Additional query words: buglist1.00 buglist2.00 fixlist3.00 1.00 2.00 3.00

Keywords: kbbug kbfix KB83759

-

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

© Microsoft Corporation. All rights reserved.