Tutoriale

Parcurge toate nodurile obiectului


static void Job17(Args _args)
{
void doTreeNode(TreeNode node)
    {
        SysLabelFind sysLabelFind;
        TreeNode     child;
        ;
        if (node)
        {

            info(node.toString());

            child = node.AOTfirstChild();
            while (child)
            {
                doTreeNode(child);
                child = child.AOTnextSibling();
            }
        }
    }
;
    doTreeNode(TreeNode::findNode('\\Forms\\Address'));
}

Lasă un comentariu