谢谢

解决方案 »

  1.   

    TreeViews.Items[1].Expanded := true;
      

  2.   

    TreeView.Items.GetFirstNode.Expanded := true;
      

  3.   

    Level property (TTreeNode)Indicates the level of indentation of a node within the tree view control. property Level: Integer;DescriptionThe value of Level is 0 for nodes on the top level. The value of Level is 1 for their children, and so on.
      

  4.   

    for I := 0 to TopItem.count - 1 do
    begin
      .
      '
    end;