Add
Adds a node of type specified by ClassType parameter at the end of the list. Text property of node can be set via optional Text parameter.
pas
function Add(ClassType: TNxLayoutNodeClass; Text: WideString = ''): TNxLayoutNode6; overload;
Example
pas
NextLayout61.Nodes.Add(TNxSpinLayoutNode6, 'Size');
Adding node and setting properties:
pas
var SizeNode: TNxLayoutNode6; begin SizeNode := NextLayout61.Nodes.Add(TNxSpinLayoutNode6, 'Size'); SizeNode.TextAfter := 'points';