DOC: Documented Properties Do Not Exist on DBGrid (153669)



The information in this article applies to:

  • Microsoft Visual Basic Control Creation Edition for Windows 5.0
  • Microsoft Visual Basic Learning Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0
  • Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
  • Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0

This article was previously published under Q153669

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.

Modification Type:MinorLast Reviewed:7/14/2004
Keywords:KB153669