.tmp_E7A942D957A5355E1EC9DE443A24C111_constraints-$1.lzx

<canvas width="100%"> 
  <view x="250" width="20" height="20" bgcolor="red" y="${m.y-15}"/> 
  <view x="300" width="20" height="20" bgcolor="blue"> 
    <handler name="oninit"> 
      var d = [m, "y-15"]; 
      this.applyConstraintMethod("myConstraintMethod", d); 
    </handler> 
    <method name="myConstraintMethod" args="ignore"> 
      this.setAttribute("y", m.y); 
    </method> 
  </view> 
  <window id="m" x="10" title="Drag me" width="160" height="20"/> 
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2008 Laszlo Systems, Inc.  All Rights Reserved.                   *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->

Cross References

Named Instances