窗体上用了个listview
怎么样在字体不变的情况下,让每行高度变大?
谢谢!

解决方案 »

  1.   

    procedure TForm1.ListBox1MeasureItem(Control: TWinControl; Index: Integer;
      var Height: Integer);
    begin
      Height := Height + 100;
    end;
      

  2.   

    放一个空的IMAGELIST上去吧。
    大小16*16的。
    这样简单方便!
      

  3.   

    怪就怪在我在一个窗体中什么都没设,这个listview的字体11号宋,每行就很宽
    看了它的属性,没有特别的,把它粘到别的form里,就是窄的!
    觉得是它的parent的什么属性决定的,可是不知道是那个属性!
      

  4.   

    知道了!
    是设了imagelist属性!
    谢谢各位