|
Posted by Xiaomaùxš¢fŠÇ.²È¨žÉ¢rº,¡û\¢ on September 20, 2005, 8:01 pm
Please log in for more thread options I met the same problem. Thanks for you hard working Davie,I'll try it!
"Davie" wrote:
show/hide quoted text
> Solved this one, using the Textbox GotFocus event, you can listen for when
> the focus. When this occurs simply set the SelectionStart to be the value
> of the Text.Length
>
> private void TextBox_GotFocus(object sender, System.EventArgs e)
>
> {
>
> this.textbox1.TextBox.SelectionStart = this.textbox1.Text.Length;
>
> }
>
>
>
> > When i select a textbox, the cursor always positions itself at the start
> > of the text rather than at the end. How can I set the cursor position to
> > appear at the end of the text which is in the textbox?
> > Many Thanks.
> >
>
>
>
|
> of the text rather than at the end. How can I set the cursor position to
> appear at the end of the text which is in the textbox?
> Many Thanks.
>