Results 1 to 2 of 2

Thread: vertical allignment in msflexgrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Location
    Southampton, UK
    Posts
    7

    vertical allignment in msflexgrid

    Is there a way to top align the text in a cell in a flexgrid?

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    You can use one of the following :

    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



    I.e. -

    MSFlexGrid1.CellAlignment = flexAlignCenterTop

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width