Results 1 to 3 of 3

Thread: Another grid question

  1. #1
    Guest

    Question

    When i put,
    Grid1.ColAlignment(1) = Vbcenter or
    Grid1.ColAlignment(1) = 2

    the alignment stay´s on the left.

  2. #2
    Guest
    In case of misunderstanding, ColAlignment aligns the Text inside the column, not the column itself.

    If you knew that already, keep in mind that it centers the Text vertically, not horizontally. If you want to align it horizontally, use the CellAlignment property.

    Code:
    MSFlexGrid1.CellAlignment = flexAlignCenterCenter



  3. #3
    Guest

    Thanks again Mega

    feel free to add this one to my account .

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