I have text1 and text 2.

Every time the form load, the cursor focus on the text2. I want the cursor focus on the text1 while form load. How Could I do?

I have set focus on the form load like this

text1.setfocus but I got the error..