PDA

View Full Version : HtmlEditor problem listeners



fillippcabral
20 Nov 2009, 5:49 PM
hello folks! ;P
Im having a problem with the Ext.form.HtmlEditor...im trying to call the method focus...and I cant do anything...is that a problem...?

{
title: 'Hello!',
fieldLabel:'Field HtmlEditor',
xtype: 'htmleditor',
width: 430,
height: 190,
listeners: {
focus: function() {
alert('hello');
}
}
}
:-?

thx everyone! ;P

aconran
24 Nov 2009, 11:19 PM
Are you trying to invoke the method focus of the HtmlEditor? Or are you trying to trigger behavior based on when the HtmlEditor is focused?