Andy Fuchs schrieb:
> Hi there,
>
> I have a question, or feature request concerning command events:
>
> myCmd = new qx.event.Command("Control+1");
> myCmd.addListener("execute", function(e){
>       
>       var x = e.getTarget();
>       var z = x.toString();  // "Strg+1"
>       var y = x.getShortcut();  // =>  "Control+1"
>       var b = x._key;
>
> }, this);
>
>
> If you run the code above on a Mac, the value of 'z' will be 'Strg+1',  
> which is wrong IMHO, since there is no 'Strg' on the Mac.
>
> Also 'b' remains undefined, but it would be really helpful to have  
> access to the modifier and the key-portion of the Command, especially  
> since they are already known by qooxdoo...
>   
Hi Andy,

that's a good point. Could you open a bug for this issue?

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[email protected]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to