c# - find and set the location of indicator in textBox -


i have program textbox when spacial input, need edit text.

so did that, indicator returned beginning of text, not mmi.

i wondering if there way edit text without changing indicator position, or there way set indicator position in textbox?

i've tried edit text in several ways, lead indicator getting start of text.

i couldn't find way influence location of indicator i'm guessing that's impossible, might wrong.

please help.

try setting selection. set cursor 5th position, select nothing:

textbox1.select(5, 0); 

just make sure last thing happens before returning control user. perhaps accompanied call focus if necessary.

in case, you'd need keep track of position should be...prior added/modified text? after it? replace 5 number.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -