[Laszlo-dev] onclick handler referencing other objects not working

Quirino Zagarese quirino at laszloitalia.org
Thu Apr 15 09:16:17 PDT 2010


Hi there,
I found out that onclick handlers referencing other objects than "this" are
not working.
Here is an example.

<canvas>
    <view bgcolor="#FF0000" height="100" width="100" name="myview">
            <handler name="onclick"
reference="canvas">Debug.write('hello!');</handler>
    </view>
</canvas>

If you switch to "onmousedown", everything works.
Regards,

Quirino

-- 
Quirino Zagarese

Italian OpenLaszlo Community  - www.laszloitalia.org

EU4RIA: Laszlo+Java, easily - eu4ria.googlecode.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20100415/a03d72ae/attachment.html


More information about the Laszlo-dev mailing list