|
-
Mar 27th, 2001, 01:12 PM
#1
Thread Starter
Junior Member
does anyone know how to set the column size in the flex grid control.
I want to preset the size of the columns so the user does not have to resize everytime they go to this form
-
Mar 27th, 2001, 01:50 PM
#2
New Member
BBYGolfer,
You need to set the Grid AllowUserSizing to 0(None) and then hard code the following Grid properties once the Grid has been populated:-
ColWidth(Index) FlexGrid properties;
Index is the colum you want to set the width for, if u need to set all of columns widths, do soemthing like this
For i = 0 To FlexGrid1.Cols
FlexGrid1.ColWidth(i) = YourConstantSetWidth
Next i
FlexGrid.ColWidth(index) = YourConstantSetWidth
Hope this helps
Kieran
-
Mar 27th, 2001, 02:15 PM
#3
Thread Starter
Junior Member
Thanks
Thanks,
Thats what I was looking for
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
|