RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Outline.TAttachMode Enumeration

TAttachMode indicates how an outline node should be inserted into an outline.

Pascal
TAttachMode = (
  oaAdd,
  oaAddChild,
  oaInsert
);
C++
enum TAttachMode {
  oaAdd,
  oaAddChild,
  oaInsert
};

Outline

TAttachMode is used by methods that move outline nodes within an outline. It includes the following values:

Value 
Description 
oaAdd  
The item is attached as if added with the Add method. The moved item becomes the last sibling of the item specified by the Destination parameter, sharing the same parent as the Destination item.  
oaAddChild  
The item is attached as if added with the AddChild method. The moved item becomes the last child of the item specified by the Destination parameter. The Destination item becomes the parent of the moved item.  
oaInsert  
The item is attached as if inserted with the Insert method. The moved item replaces the Destination item in the outline, while the Destination item and all other following items are moved down one row.  

 

TCustomOutline 

TOutlineNode

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