[Laszlo-user] Mouse events on a stretched view

Pablo Kang pkang at laszlosystems.com
Tue Jan 22 18:50:21 PST 2008


Mouse events are only available for the first 100 pixels of a stretched view. 
Test case:

<canvas debug="true">

     <!-- Mouse events only over first 100 pixels of gray rectangle; green bar
          represents 100 pixels. -->
     <view height="400" width="100" stretches="height"
           bgcolor="silver"
           onclick="Debug.write('click')"
           onmouseover="Debug.write('mouseover')"
           onmouseout="Debug.write('mouseout')" />

     <!-- Bar representing 100 pixels -->
     <view x="110" height="100" width="10" bgcolor="green" />

</canvas>


Ideas?

pablo






More information about the Laszlo-user mailing list