Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Forum Post: RE: Selected Text

$
0
0
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.

Viewing all articles
Browse latest Browse all 5819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>