Hi Jhonny,

jhonny thio wrote:
> hellooo...
> 
> I have a chat application...
> It work well in IE and Modzila. I can send message to anyone..
> But when I run it on Opera, it can't detect keydown...so when I pressed 
> enter, the program doensn't send the message and nothing happen. 
I've just tested a textfield widget with Opera 9.51 and it worked 
without a problem.
In which way do you add the listener and try to get the key pressed?

--snip--
var myTextField = new qx.ui.form.TextField();

// the "input" listener will return the whole content of the textfield
myTextField.addEventListener("input", function(e)
{
    this.debug("content " + e.getData());
});

// the "keypress" will only return the pressed key
myTextField.addEventListener("keypress", function(e)
{
   this.debug("pressed key: " + e.getKeyIdentifier());
});
--snip--

The above snippet worked for me, so maybe you try this one :)


> The other is I have a join button. When I pressed it, the application will 
> join to a channel that I choosed before. But it also doesn't work on Opera. 
> Nothing happen when I pressed it. 
How do setup the event listener? Normally an "execute" event is fired 
which you can listen for. Can you send us over a little code snippet to 
track down this issue together?


cheers,
   Alex

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to