Highlighting the text when tabbing into the TextBox control the first time is the default behavior The easiest way to turn this poff is to set the SelectionStart property to 0 after setting the Text property programmatically. set textBox1::SelectionStart to 0 You might want to take a look at the article here for an example of how to subclass the TextBox control to create anew version with the desired behavior.
↧