Results 1 to 3 of 3

Thread: nubie BDGrid

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    Leeds
    Posts
    30

    Post

    Hi there, i'm trying to write a procedure that will autosize the width of each of the columns in a grid, the one problem that i have come across is that i can't find a way to set the columns to the width that want
    ie there is not DBGrid1.Width = ... setting?
    or am i just missing it?
    can anyone help, thanks
    Piers

  2. #2
    Lively Member
    Join Date
    Jan 2000
    Location
    Springfield, IL
    Posts
    124

    Post

    Try this to access the first column in your table.
    Code:
        DBGrid1.Columns(0).Width

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    Leeds
    Posts
    30

    Post

    Ok much appreciated, that seems to work fine.

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