Field.setFocus() cant solve my problem. Some case my field must be non_Focusable, and some case focusable.
For example;
Code:
startDate = new DateField("Start Date",System.currentTimeMillis(),dateFormat,Field.READONLY|Field.NON_FOCUSABLE);
finishDate = new DateField("End Date",System.currentTimeMillis(),dateFormat,Field.READONLY|Field.NON_FOCUSABLE);
.
.
startDate.setEditable(selectedindex==3);
finishDate.setEditable(selectedindex==3);
I want to fields focusable when it's editable