Vcl.ComCtrls.TNodeAttachMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TNodeAttachMode = (naAdd, naAddFirst, naAddChild, naAddChildFirst, naInsert);

C++

enum DECLSPEC_DENUM TNodeAttachMode : unsigned char { naAdd, naAddFirst, naAddChild, naAddChildFirst, naInsert };

Properties

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

Description

TNodeAttachMode identifies a new or changed tree node relationship.

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.

Code Examples