PDA

View Full Version : transfer of control



raj362436
27 Aug 2012, 12:50 AM
is there any function to move control from one text box to other text box automatically.

Farish
27 Aug 2012, 1:07 AM
if what you mean is to set the cursor to another field, you can use the focus method.


field.focus(selectText, 500);

where selectText would be a boolean value and 500 is the delay in msecs.

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.field.Text-method-focus