Description | Hierarchy | Fields | Methods | Properties |
type TGUITreeViewNode = class(TReferenceCounted)
Node for gui tree view.
![]() |
function AddChildBack(const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
![]() |
function AddChildFront(const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
![]() |
function DeleteChild(Child: TGUITreeViewNode): Boolean; inline; |
![]() |
function GetFirstChild: TGUITreeViewNode; inline; |
![]() |
function GetIcon: StringType; inline; |
![]() |
function GetLastChild: TGUITreeViewNode; inline; |
![]() |
function GetNextSibling: TGUITreeViewNode; inline; |
![]() |
function GetNextVisible: TGUITreeViewNode; inline; |
![]() |
function GetOwner: TGUIElement; inline; |
![]() |
function GetParent: TGUITreeViewNode; inline; |
![]() |
function GetPrevSibling: TGUITreeViewNode; inline; |
![]() |
function InsertChildAfter(Other: TGUITreeViewNode; const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
![]() |
function InsertChildBefore(Other: TGUITreeViewNode; const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
![]() |
function MoveChildDown(Child: TGUITreeViewNode): Boolean; inline; |
![]() |
function MoveChildUp(Child: TGUITreeViewNode): Boolean; inline; |
![]() |
procedure ClearChildren; inline; |
![]() |
property ChildCount: LongWord read GetChildCount; |
![]() |
property Data: Pointer read GetData write SetData; |
![]() |
property Expanded: Boolean read GetExpanded write SetExpanded; |
![]() |
property HasChildren: Boolean read GetHasChildren; |
![]() |
property ImageIndex: LongWord read GetImageIndex write SetImageIndex; |
![]() |
property IsRoot: Boolean read GetIsRoot; |
![]() |
property Level: LongInt read GetLevel; |
![]() |
property Selected: Boolean read GetSelected write SetSelected; |
![]() |
property SelectedImageIndex: LongWord read GetSelectedImageIndex
write SetSelectedImageIndex; |
![]() |
property Text: StringType read GetText write SetText; |
![]() |
property Visible: Boolean read IsVisible; |
![]() |
function AddChildBack(const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
Adds a new node after the last child node. Parameters
ReturnsThe new node. |
![]() |
function AddChildFront(const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
Adds a new node before the first child node. Parameters
ReturnsThe new node. |
![]() |
function DeleteChild(Child: TGUITreeViewNode): Boolean; inline; |
Deletes a child node. ReturnsTrue if the node was found as a child and is deleted. |
![]() |
function GetFirstChild: TGUITreeViewNode; inline; |
Returns the first child node, if any, else nil. |
![]() |
function GetIcon: StringType; inline; |
Returns the node's icon string. |
![]() |
function GetLastChild: TGUITreeViewNode; inline; |
Returns the last child node, if any, else nil. |
![]() |
function GetNextSibling: TGUITreeViewNode; inline; |
Returns the node following this one in the parent node's children list. |
![]() |
function GetNextVisible: TGUITreeViewNode; inline; |
Returns the next visible node. |
![]() |
function GetOwner: TGUIElement; inline; |
Returns the owning GUITreeView. |
![]() |
function GetParent: TGUITreeViewNode; inline; |
Returns the parent node, or nil if this is the root node. |
![]() |
function GetPrevSibling: TGUITreeViewNode; inline; |
Returns the node preceding this one in the parent node's children list. |
![]() |
function InsertChildAfter(Other: TGUITreeViewNode; const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
Adds a new node after another one. Parameters
ReturnsThe new node. |
![]() |
function InsertChildBefore(Other: TGUITreeViewNode; const Text: StringType; const Icon: StringType = ''; ImageIndex: LongInt = -1; SelectedImageIndex: LongInt = -1; Data: Pointer = nil): TGUITreeViewNode; inline; |
Adds a new node before another one. Parameters
ReturnsThe new node. |
![]() |
function MoveChildDown(Child: TGUITreeViewNode): Boolean; inline; |
Moves a child node down by one position. ReturnsTrue if the node was found as a child node and was not already the last child. |
![]() |
function MoveChildUp(Child: TGUITreeViewNode): Boolean; inline; |
Moves a child node up by one position. ReturnsTrue if the node was found as a child node and was not already the first child. |
![]() |
procedure ClearChildren; inline; |
Removes all childs (recursive) from this node. |
![]() |
property ChildCount: LongWord read GetChildCount; |
The number of child nodes. |
![]() |
property Data: Pointer read GetData write SetData; |
The user |
![]() |
property Expanded: Boolean read GetExpanded write SetExpanded; |
Specifies whether the node is |
![]() |
property HasChildren: Boolean read GetHasChildren; |
Tells whether this node has any children. |
![]() |
property ImageIndex: LongWord read GetImageIndex write SetImageIndex; |
The index of this node's image in the TreeView's image list. |
![]() |
property IsRoot: Boolean read GetIsRoot; |
Tells whether this node is a root node. |
![]() |
property Level: LongInt read GetLevel; |
The |
![]() |
property Selected: Boolean read GetSelected write SetSelected; |
Specifies whether this node is currently |
![]() |
property SelectedImageIndex: LongWord read GetSelectedImageIndex
write SetSelectedImageIndex; |
The index of this node's "selected" image in the TreeView's image list. |
![]() |
property Text: StringType read GetText write SetText; |
The node's caption. |
![]() |
property Visible: Boolean read IsVisible; |
True if this node is |