添加一个listbox组件,想做成listview的Report图表式的窗体,
比如想定义column为3项,第一项名称name,2为year,3为day;然后写入一行数据,分别为zhanghk,1998,11,应该怎样做呀?

解决方案 »

  1.   

    他办不到,你还得使用ListView
      

  2.   

    那你还是用LISTVIEW,LISTBOX是不行
    不过你可以在LISTBOX的基础上派生一个LISTVIEW出来
      

  3.   

    那listbox1.Columns:=3语句是什么作用呀?
      

  4.   

    Use Columns to specify the number of columns, in a multi-column list box, that are visible without having to use the horizontal scrollbar.
      

  5.   

    he default value for Columns is 0, meaning that the list box is not multi-column. That is, users can scroll only vertically and the list of items will not wrap.
      

  6.   

    如果你设多个Columns,如果你Lisbox中的ITems.text的长度大于Columns的宽度,那么大于这个宽度的Text将看不到》,Listbox中的Columns分隔线你是看不到。
      

  7.   

    delphi帮助文件吧,我看不懂。
      

  8.   

    Columns 是 ListBox 中的项目分几列显示。