To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
The DeleteNode() method is used to delete nodes when the dialog works with a tree table. You can fill the program array before the dialog execution using BEFORE DISPLAY and BEFORE DIALOG control blocks.
The method needs two arguments:
CALL DIALOG.DeleteNode("screen_array", index)
The screen_array argument passes the name of the screen array identifying the tree.
The index argument specifies the index of the node that should be deleted from the program array.
Unlike the DeleteRow() method, the DeleteNode() method deletes all child nodes and only after that removes the node identified by the index argument.
Related topics: