Results 1 to 2 of 2

Thread: MSflexgrid and row height

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2004
    Posts
    294

    MSflexgrid and row height

    is it possible to automaticly change the row height if the text is too long? instead of just doing MSFlexGrid1.RowHeight(4) = 500?


    edit: n/m i got it, i just used len and checked if > 50 or so, and expand it if it's greater
    Last edited by Whatupdoc; Sep 5th, 2005 at 06:48 PM.

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: MSflexgrid and row height

    .TextWidth(cellvalue) compared to .RowWidth(row width) might give more exact values - as opposed to Len()

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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