listview cannot set column with using code is this a bug or my ignorance? lazarus / 9-Editor ---------------------------------------------------------------------- wiri17200 · 2009-02-15 12:29 I have a listview with 3 columns.  and a button  the code i have when the button is clicked reads: Code: [Select]procedure TForm1.DefaultColumWidth(); begin ListView1.Column[0].Width:= 214; ListView1.Column[1].Width:=  75; ListView1.Column[2].Width:=  62; end;                                    using lazarus 0.9.27 beta but the 0.9.26 doesn't work either.  Can any kind soul shed a light on this newbie's problem. Wiri ---------------------------------------------------------------------- theo · 2009-02-15 14:09 Works here. Did you set ViewStyle to vsReport? ---------------------------------------------------------------------- wiri17200 · 2009-02-15 19:03 I did set the style to vsreport