Results 1 to 2 of 2

Thread: MSFlexGrid and ColWidth

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146
    I have been trying to adjust the column widths in the Grid so that all the field names can be read fully.

    I can set the first 2 columns but for some reason I get an error - invalid column width for the rest.
    The code:
    flxResults.ColWidth(0) = 0
    flxResults.Colwidth(1) = 1000
    flxResults.ColWidth(2) = 2000 'error here

    No matter what value I set (2) at, vb won't have it.

    Can anyone tell me why... or better still a code that does

    Grid column widths = Field widths

    Any help will be appreciated
    GRAHAM

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146

    Talking

    Its OK, panic over...I've sussed it.


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