I just tried the 'Select' with my app and it wasn't highlighted. The code:
private System.Windows.Forms.TextBox txtLeftOperand;
.......
txtLeftOperand.Select(1,2);
Any ideas on what I might be doing wrong? My environment is Visual Studio
..NET 2003
Mike
"Allen Anderson" <al***@sparkysystems.com> wrote in message
news:0p********************************@4ax.com...
to select (highlight) characters 1 through 10 in a text box
textbox1.Select( 1, 10 );
I would suggest RTM for further information on this subject.
-Allen Anderson
http://www.glacialcomponents.com
On Mon, 6 Oct 2003 08:55:30 -0700, "Cox" <ra******@cox.net> wrote:
How would I go about highlighting text in a textbox?