添加按钮:
Toolbar1.Buttons.Add [Index], [Key], [Caption], [Style], [Image]
删除按钮:
Toolbar1.Buttons.Remove Index

解决方案 »

  1.   

    还有imagelist,怎样断开imagelist和toolbar的关联?
      

  2.   

    toolbar属性里面应该有的,可以动态设定的
      

  3.   

    用多个工具栏,根据需要显示要用的那个.这样会好处理些,不然代码会比较乱.
        Set Toolbar1.ImageList = Nothing
      

  4.   

    用多个工具栏,根据需要显示要用的那个.这样会好处理些,不然代码会比较乱.
        Set Toolbar1.ImageList = Nothing