If the highlighting that you are talking about is really that the text is being selected inside the textbox, you can modify it by changing the textbox
.SelectionStart
. Set it to zero and the cursor will be at the first position in the textbox. Set it equal to the textbox's length and the cursor will be at the end. There are a couple of other .Selection options you could play with. For example,
.SelectionLength
sets how many characters are selected.
If the user isn't allowed to enter data into this textbox you may also want to consider setting the textbox's
.TabStop = False
which would stop the user from being able to tab into the textbox (at which point the default is to select the text inside the textbox) and maybe even
.ReadOnly = True
which stops users from entering data into the textbox.
Here[
^] is the MSDN on .SelectionStart