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...

andy


------------------------------------------------------------------------------
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