RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TNodeAttachMode Enumeration

TNodeAttachMode identifies a new or changed tree node relationship.

Pascal
TNodeAttachMode = (
  naAdd,
  naAddFirst,
  naAddChild,
  naAddChildFirst,
  naInsert
);
C++
enum TNodeAttachMode {
  naAdd,
  naAddFirst,
  naAddChild,
  naAddChildFirst,
  naInsert
};

ComCtrls

The TNodeAttachMode type specifies the way a new or relocated tree node will be related to some other node.

Value 
Meaning 
naAdd  
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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!