You can handle this with javscript.

A good example of this is at:

http://www.gliffy.com

Take a look at the page source.

Paraphrase and credit where due...


MG


On Wed, May 24, 2006 at  9:24 PM, Benjamin Shine wrote:

> This spreadsheet from Michael Gregor might help a bit.
>
>
>>
>>      ------------------------------
>>
>>
>
>>
>>      ------------------------------
>>
>> On May 24, 2006, at 8:02 PM, Jes Lefcourt wrote:
>
>> 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>
>>
>> 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>
>>
>> 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
>
> benjamin shine
> software engineer
> [EMAIL PROTECTED]
>
>
>
>
>>
>>      ------------------------------
>>
>> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to