Vcl.Outline.TAttachMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TAttachMode = (oaAdd, oaAddChild, oaInsert);

C++

enum DECLSPEC_DENUM TAttachMode : unsigned char { oaAdd, oaAddChild, oaInsert };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Outline.pas
Vcl.Outline.hpp
Vcl.Outline Vcl.Outline

Description

TAttachMode indicates how an outline node should be inserted into an 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.



See Also