|
-
Feb 11th, 2000, 12:33 PM
#1
Thread Starter
Junior Member
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
-
Feb 11th, 2000, 12:38 PM
#2
Lively Member
Try this to access the first column in your table.
Code:
DBGrid1.Columns(0).Width
-
Feb 11th, 2000, 12:48 PM
#3
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|