I'm setting focus to a textbox that has data in it. The maxlength is set to maxlength = 50. It sets the focus to the end of the txtbox...how can I set it to the begining of the the txtbox?
thanks
Printable View
I'm setting focus to a textbox that has data in it. The maxlength is set to maxlength = 50. It sets the focus to the end of the txtbox...how can I set it to the begining of the the txtbox?
thanks
Textbox1.Select(0,0)
Edit: Put that after Textbox1.Focus
I tried that code, but still getting the same results..
VB Code:
txtVendor.Focus() txtVendor.Select(0, 0)
:eek: :confused:
The code Lunatic3 posted worked fine . It moves focus to the textbox offset even while Maxlength set to =50 .:rolleyes: