DOCUMENT:Q176631 12-NOV-1997 [vbwin] TITLE :DOC: FlexGrid Constants Incorrect in Help and Books Online PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:5.0 OPER/SYS:WINDOWS KEYWORDS:vb5all VBKBAX VBKBComp VBKBCtrl VBKBStd ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0 --------------------------------------------------------------------- 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 ====================================================================== Keywords : vb5all VBKBAX VBKBComp VBKBCtrl VBKBStd Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbdocerr ============================================================================= 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. Copyright Microsoft Corporation 1997.