Total width of columns = Width of ListView 
Author Message
 Total width of columns = Width of ListView

Quote:
>    sngColWidth = ListView1.Width / ListView1.ColumnHeaders.Count

    That means all the width of the columns will be equal, right ?

    Can I go something like those column resizing in Outlook 97 ?

    In Outlook 97, when you choose one column for auto resizing, other
columns will be resized also, so that the total width of all columns will be
equal to the width of the ListView...

    But in ListView, I've found that the total width of all columns in a
ListView is always larger than the width of the ListView... this confused
me...

    Anyone got any idea ? Thanks a lot.

Pigeon.



Sat, 01 Jul 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Total width of columns = Width of ListView

2. Total width of columns = Width of ListView

3. Total width of columns = Width of ListView

4. ListView column width = ListView width ?

5. Setting datagrid column width sets width of toplevel!!

6. Set Grid width to sum of Column Widths

7. Make dbgrid columns width follow form width ???

8. ListView.Width <> Sum of ColumnHeader widths

9. Total listview width

10. Preserving column widths in Listview

11. How to get the widths of the columns in a ListView

12. How to get control if you resize the width of a Column in a ListView

 

 
Powered by phpBB® Forum Software