在网上找的一些代码测试,好像行不通,会出错
看看这个链接:http://dev.csdn.net/article/37/37902.shtm我这句会出错 ListView1.Picture = picGreenbar.Image求教求教~~~~~~~~~~~~~~~~~~~~~~~``

解决方案 »

  1.   

    For i = 1 To livBook.ColumnHeaders.Count - 1
         mitem.ForeColor = &HC000&
         mitem.ListSubItems(i).ForeColor = &HC000&
    Next i
      

  2.   

    ListView1.Picture ??没有这个属性吧!
      

  3.   

    to  jiemupig(伦涯飘)
     
    是啊,我也觉得奇怪
      

  4.   

    原文不是说了么,要添加一个picture控件
      

  5.   

    设置一行的背景颜色  
    http://www.mvps.org/vbnet/index.html?code/comctl/lvledger.htm   设置多行的背景颜色  
    http://www.mvps.org/vbnet/index.html?code/comctl/lvledgerrows.htm
      

  6.   

    确实没有picture属性.阿忠给的例子中,listview的某些属性我这里也不行这难道是Listview的版本问题???
      

  7.   

    找到这样一句话
    Visual Basic 6. Visual Basic 5 users can not access the listview's picture property without using APIs: