Hi everyone,
Thanks for your responses!  Unfortunately, though, I spoke with Chris as
Gliffy about this (and took a look at their code).  They don't do
anything with alt keys anywhere...  So, I'm afraid we're back to where
we started.

- Jes


-----Original Message-----
From: P T Withington [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 1:27 PM
To: Michael Gregor
Cc: Benjamin Shine; Jes Lefcourt; [email protected]
Subject: Re: [Laszlo-user] Alt keys

Is this something the Gliffy guys would be interested in having standard
in the platform (i.e., would they like to contribute it)?

On 2006-05-25, at 11:24 EDT, Michael Gregor wrote:

> 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


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

Reply via email to