read text from txt file
Hello! I'm reading a txt file, when the form is loaded the text appear in the textbox. My problem is that when the form loads, the text is selected, and i don't want that. How can i make the text not to be selected? thnks!
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Apr 3, 2013, 6:55 PM
This selects nothing but leaves the caret at the end of the text.
Jignesh TrivediPosted Apr 4, 2013, 12:02 AM
I have tried in my test application to reproduced the issue which is face by you.
it working fine and not get selected whole text while I am click on textbox or make focus on textbox.
here I am making text box multi line.
Javeed M ShaikhPosted Apr 3, 2013, 4:52 PM
I think the tabindex for this texbox is set to 0 and tab stop is set to true, you can either set the tab index of some other control to 0 or set the tab stop to false.