ListView能保存到流里吗?TreeView就可以.
然后另一个ListView通过流的方式加载显示出来.

解决方案 »

  1.   

    在VCL里,ListView不提供SaveToStream/LoadFromStream的方法。
      

  2.   

    界面都可以保存在dfm里面,其实也相当于可以变相的保存在流里,好像是Stream.WriteComponentRes,
    TStream = class(TObject)
    function ReadComponent(Instance: TComponent): TComponent;
    procedure WriteComponent(Instance: TComponent);
      

  3.   

    LZ说的应该是Listview中的数据!
    可以把数据保存在INI文件中!