Home All Groups Group Topic Archive Search About

C# Windows Form Cursor question

Author
11 Mar 2006 4:00 AM
Jason Huang
Hi,

In my C# Windows Form MyForm, I do a string manipulation on a TextBox.
However, the Cusrsor stays in the beginning of the TextBox.
Would someone tell me how set the Cursor in the end of the TextBox?
Thanks for help.



Jason

Author
11 Mar 2006 4:08 AM
Tim Wilson
You can use the SelectionStart property.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformstextboxbaseclassselectionstarttopic.asp

--
Tim Wilson
..NET Compact Framework MVP

Show quoteHide quote
"Jason Huang" <JasonHuang8***@hotmail.com> wrote in message
news:%23l91cBMRGHA.4572@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> In my C# Windows Form MyForm, I do a string manipulation on a TextBox.
> However, the Cusrsor stays in the beginning of the TextBox.
> Would someone tell me how set the Cursor in the end of the TextBox?
> Thanks for help.
>
>
>
> Jason
>
>

Bookmark and Share