Vb net textbox cursor position always 0 after databinding
Posted
by
user1166557
on Stack Overflow
See other posts from Stack Overflow
or by user1166557
Published on 2012-12-18T10:58:40Z
Indexed on
2012/12/18
11:03 UTC
Read the original article
Hit count: 201
please help me with the following if you can, i have the simple following command
me.textbox1.databindings.clear
me.textbox1.databindings.add("text",TicketsBindingSource,"TicketSubject")
the command exeutes succesfully and i can see in the textbox the title, BUT once i click on the textbox1 the position of the cursor it's always moving to the position 0 and not to the area of the textbox i clicked. For example my textbox has the following text: "Hello World"
. If i click with my mouse inside the textbox at the letter W or anywhere i click the cursor is moving to the 0 index. eg. at the beggining , in order to move my cursor left or right i have to do that with my keyboard arrows keys, Dose anybody know how i can solve this issue?
© Stack Overflow or respective owner