Quote Originally Posted by wan1976 View Post
I have tried those ways to implement the on event method, but they are all not worked. However I found this snippet code worked:

new Ext.form.TextField({
height : 24,
width : 225,
listeners : {
specialkey : function(field, e) {
if (e.getKey() == Ext.EventObject.ENTER) {
that works!!!...thank's a lot!