Set focus to the particular form field control

Initially i have written coding part in close method of  specific form.Form contains two tabs namely overview and contact info.

when I close the form I should get navigated to email field in contact info tab.Can anyone suggest me how to resolve this issue?

I have used set focus method but it didn't work.

emailfield.setfocus();

Related
Recommended