第一个问题没有看懂。:)第二个问题可以用 ActivePageIndex 属性设置一下就可以。删除的tab的id你当然可以拿到的吧

解决方案 »

  1.   

    MoveTo里面的TreeNode指的不仅仅是哪个Treenode,还要结合后面的mode来看得。你可以去查看一下。
    UnitComCtrlstype TNodeAttachMode = (naAdd, naAddFirst, naAddChild, naAddChildFirst, naInsert);DescriptionThe TNodeAttachMode type specifies the way a new or relocated tree node will be related to some other node.Value MeaningnaAdd The new or relocated node becomes the last sibling of the other node.
    naAddFirst The new or relocated node becomes the first sibling of the other node.
    naInsert The new or relocated node becomes the sibling immediately before the other node.
    naAddChild The new or relocated node becomes the last child of the other node.
    naAddChildFirst The new or relocated node becomes the first child of the other node.结合VCL里面的如上一段说明,我想你应该可以判断在不同情况下的Treenode参数和Mode参数的组合,多看看帮助,多看看各个不同参数的意义。努力
      

  2.   

    不是,我是说节点的移动直接就移动到了最低部了,根部不会一个一个移动,不如上面的表我要是吧123移动到123451的下面(不是变成子目录)的时候他就直接移动到123453的下面了!不知道为什么?!main
       123 
          1
          2
          3
       123451
       123452
       123453