Results 1 to 2 of 2

Thread: dbgrid

  1. #1

    Thread Starter
    Hyperactive Member samsyl's Avatar
    Join Date
    Jun 2001
    Location
    London
    Posts
    338

    dbgrid

    Is any to change dbgrid column size.

    Thanks for help.

  2. #2
    Hyperactive Member
    Join Date
    Jul 2001
    Location
    FL
    Posts
    258
    You can change the width at design time in the DataGrid Properties. Right click on the grid and choose Properties, it is in the Columns Tab.

    You can also change the width in code, like this....

    VB Code:
    1. DataGrid1.Columns(0).Width = 1000

    the 0 is the index of the column you want to change.

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