Skip to content

ModifyTreeViewNode

Claude edited this page Oct 26, 2026 · 5 revisions

ModifyTreeViewNode

Command Index · BlitzPlus · Tree Views

ModifyTreeViewNode node%, text$, icon%=-1

Works in: BlitzPlus

Changes the text of a node.

Graphics 320, 240, 32, 2
win  = CreateWindow("Modify", 10, 10, 300, 200, Desktop(), 3)
tree = CreateTreeView(10, 10, 270, 140, win)
n = AddTreeViewNode("Old", TreeViewRoot(tree))
ModifyTreeViewNode n, "New"
Repeat
Until WaitEvent() = $803
Parameter Type Default Description
node Int required Handle of a node.
text String required The new text.
icon Int -1 Number of an icon of the tree. Defaults to -1, which means none.

Related commands

Command Index · BlitzPlus · Tree Views

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally