DOC: Documented Properties Do Not Exist on DBGrid

Last reviewed: July 9, 1997
Article ID: Q153669
The information in this article applies to:
  • Microsoft Visual Basic Control Creation, Learning, Professional and Enterprise editions for Windows, version 5.0
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic for Windows, 16-bit and 32-bit, version 4.0

SUMMARY

Page 608 of the Visual Basic 4.x Programmers Guide in the Formatting section indicates that:

   "Each column of the DBGrid control has its own font, border, word-wrap,
   color, and other attributes that can be set without regard to other
   columns."

This is an error in the documentation.

MORE INFORMATION

None of the explicitly mentioned properties can be set on a per-column basis. The only properties of the DBGrid that can be set on a per-column basis can be determined as follows:

  1. Right-click the DBGrid.

  2. Select Properties.

  3. On the property sheet, select Columns.

REFERENCES

Visual Basic 4.0 Programmers Guide, page 608

Visual Basic Programmer's guide, Chapter 14, page 693.

Also, if you select a dbgrid on a form and hit the F1 key, you get a Help file that contains the erratum.


Keywords : vb4all vb4win vb5all kbdocerr
Version : 4.0 5.0
Platform : NT WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.