不访试试集合里的数据设为自定义数据类型type

解决方案 »

  1.   

    linux_withwind(随风而去) :
    请详细点,谢谢
      

  2.   

    Collection Class Derived From VB's Collection Object
    http://www.freevbcode.com/ShowCode.Asp?ID=1561Make a collection class
    http://www.vb-helper.com/howto_collection_class.html
      

  3.   

    saucer(思归) :
       谢谢你! 但是我在客户端放映出来的属性有错误,如:
       
        x.txts.add   为:Collection 对象
     如果在txts中加入索引参数,不能直接显示Class2对象
      显示的是:  x.txts(0).add  
      我想应该显示如:   x.txts(0).txt  为:Class2 对象