View Single Post
  #18 (permalink)  
Old 05-02-2008, 04:11 PM
berndgoedecke berndgoedecke is offline
Knows the basics
 
Join Date: Dec 2007
Posts: 69
Awards Showcase
Beta Tester 
Total Awards: 1
Default Missing dicription of special-values in the Help-File

Hello Filippo,
the last weeks I tried out your ListView.dll. Because I know that ListView is able to autosize the columns, I searched in the LitView.chm but nothing is in there about autosizing.
It would be helpfull, if the special values for column.width are documented as well.
What I mean is:
lv.Columns(1).Width=-1
'-1 Sizes the column to the widest subitem text

lv.Columns(2).Width=-2
'-2 Sizes the column to the wider of the columnheader text or the
widest subitem text. Secondly, the last column is automatically sized
to the remaining listview width

lv.Columns(0).Width=0
'Hide column 0

Thanks for this very helpfull library.

best regards

berndgoedecke

PS.: Is it possible to get the HeaderClick event without sorting, so that the user come to his own decision what is to do if the header is clicked??
Reply With Quote