bgiInsertGizmoChildNode

Category: BGI GUI

Syntax:

bgiInsertGizmoChildNode:Int(parentNode:Int, childNode:Int, text:String, parentTreeview:Int)


Parameters

Returns

Int



Summary

Replaces a node with a new one.

Takes parentNode (Int), childNode (Int), text (String) and parentTreeview (Int). A new node with the text is put directly after childNode, then childNode is deleted together with every node under it. The new node has a new ID, which is not returned - find it with bgiSelectedGizmoNode or keep track some other way.

Returns 1 when childNode was replaced. If there is no node childNode, the new node is added as the last child of parentNode (or at the top level) and the result is 0 - Windows does the same.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn