toolbar的ImageList属性连到一个ImageList上,ImageList里面随便放一堆图。
然后修改的每个ToolButton的ImageIndex属性,比如0,1,2...

解决方案 »

  1.   


      up,imageindex的数值(0、1、2、3……)与toolbutton的顺序想对应。第一个为0。
      

  2.   

    imagelist中放置的图片是toolbutton无焦点时的图标,设置方法同chechy.
    Hotimagelist中放置的图片是toolbutton获得焦点时的图标,就像IE的工具栏一样,很好用哟!
      

  3.   

    第一步:添加一toolbar,imagelist;
    第二步: 双击imagelist,在其中加入图标。ICO,BMP均可。
    第三步: 设置toolbar属性中的images为imagelist。
    第四步: 设置toolbutton属性中的imageIndex的数字值,就可以选到自己选好的图标了