On Nov 15, 2005, at 11:37 AM, Pablo Kang wrote:
A view on top of a button doesn't seem to obscure mouse events like onclick and onmouseover. In the following example, you can still click on button through the view.

   <canvas debug="true">
       <button text="click me" onclick="Debug.write('clicked')" />
       <view width="200" height="200" bgcolor="yellow" opacity=".3" />
   </canvas>

Is there any way to obscure mouse events for button w/o having to disable it?

Set clickable="true".

(I didn't test this, but it should work.)
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to