FIX: Grid Cell Border May Not Display with Some BackColors

ID: Q83759


The information in this article applies to:
  • Microsoft Visual Basic Standard Edition for Windows, version 2.0
  • Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows


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.


MORE INFORMATION

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 :
Version : WINDOWS:2.0; :
Platform : WINDOWS
Issue type :


Last Reviewed: January 20, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.