Board index » delphi » TListView column allow resize

TListView column allow resize


2003-08-29 03:08:43 PM
delphi132
How do I fix a width of a particular column in a TListView ?
 
 

Re:TListView column allow resize

Where should I put this code into ?
Quote
If ListView1.Column[0].Width = 30 Then
ListView1.Column[0].Width := 15 else
ListView1.Column[0].Width := 30;