View Full Version : set focus on a textfield

2 Nov 2009, 8:30 AM
Hello !

I have an form.
In this form is a textfield.

xtype : "textfield",
fieldLabel : "Kurzfrage",
name : "kurzfrage",
id: 'kurzfrage',
width : 200,
msgTarget : "qtip",
qtip : "Bitte Kurzfrage bearbeiten"

In the tobbar of the form is a button.

xtype: 'tbbutton',
text: 'neu',
cls: 'x-btn-text-icon',
icon: '/lib/famfamfam/application_get.png',
handler: neueFallbereichsfrage,
tooltip: 'neuen Fallbereichsfrage anlegen'

When i click on the button a function works.
How can i move the cursor on this textfield ?

Your sincerly