DOCFIX: FlexGrid Constants Incorrect in Help and Books Online (176631)



The information in this article applies to:

  • 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

This article was previously published under Q176631

SUMMARY

The documentation for the Microsoft FlexGrid Control lists several constants for use with the ColAlignment property. These constants include:
   flexAlignLeft
   flexAlignRight
   flexAlignCenter
				

These constants are incorrectly documented. These constants are not defined within the Microsoft FlexGrid control and either have no effect when used or produce a compile error if "Option Explicit" is specified.

MORE INFORMATION

To control the alignment within a column using the ColAlignment property, use the constants defined for the CellAlignment property. These constants include:
   flexAlignLeftTop
   flexAlignLeftCenter
   flexAlignLeftBottom
   flexAlignCenterTop
   flexAlignCenterCenter
   flexAlignCenterBottom
   flexAlignRightTop
   flexAlignRightCenter
   flexAlignRightBottom
   flexAlignGeneral
				

STATUS

The documentation has been updated in Visual Basic 6.0.

Modification Type:MajorLast Reviewed:11/18/2003
Keywords:KB176631