Hello,
I wrote yesterday
about trying to intercept the control-n key combination in Internet
Explorer. It would appear that there is no way to do this. So,
instead, I'm trying to intercept alt-n. But, it looks like Laszlo doesn't
listen to ANY alt keys at all. I verified this with the following
code:
<canvas height="130"
debug="true">
<method event="onkeydown" reference="LzKeys" args="k">
Debug.write(k);
</method>
</canvas>
<method event="onkeydown" reference="LzKeys" args="k">
Debug.write(k);
</method>
</canvas>
Neither Internet
Explorer nor Firefox seem to show the alt key being pressed. I also tried
this:
<canvas height="130"
debug="true">
<method event="onmousedown" reference="LzGlobalMouse">
Debug.write(LzKeys.downKeysArray);
</method>
</canvas>
<method event="onmousedown" reference="LzGlobalMouse">
Debug.write(LzKeys.downKeysArray);
</method>
</canvas>
And you'll note
that, when you hold down the alt key and click in the canvas, there's nothing in
the downKeysArray... So, my question is, why does Laszlo bother listing
the alt key among their special keys? Is there some way to get this
working?
Thanks!
-
Jes
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
