SysCompare class

From Axaptapedia

Jump to: navigation, search

After this modification (Ax 3) system compare dialog will compare the top layer with a layer located immediately under the top by default

\Classes\SysCompare\init

...
    if (sysContextMenu.selectionCount()==1)
    {
        firstNode = sysContextMenu.first();
        this.setTreeNode1(firstNode);
        this.setCombo(_comboBox1, _baseTreeNode1);
        this.setCombo(_comboBox2, _baseTreeNode1, 0, true, true);
        // RPT DevTools bmi 060926 ---> 
        //_comboBox1.selection(0);
        _comboBox1.selection(max(0, _comboBox1.selection() - 1));
        // RPT DevTools bmi 060926 <---
        _mergeAvailable = !systreenode::isSourceHTML(_baseTreeNode1);
        this.run();
    }
...
Personal tools