就是平面型的还有滚动条可以设置成白色或是其他颜色,就是能够自绘,如何办到,因为整个软件风格是平面型的,树控件出现了非平面的3D,不协调啊

解决方案 »

  1.   

    http://www.delphi-gems.com/VirtualTreeview/
      

  2.   

    Scrolling  
    Flat scroll bars are supported. but since they conflict with Windows XP this support is switched off by a compiler symbol (UseFlatScrollbars). Enable this symbol if you really want to use flat scroll bars before compiling the tree unit. 
    Every scroll operation triggers an TBaseVirtualTree.OnScroll event. This allows to synchronize trees with other controls. 
    There are properties (e.g. TBaseVirtualTree.OffsetXY) which allow to scroll the tree content to any postion in code without sending messages around. 
    Wheel panning and scrolling is supported. That is, when clicking the mouse wheel or pressing and holding it while moving the mouse around the tree window is scroll smoothly.