Leo Koach
January 26th, 2000, 10:00 PM
How can I put the curser at the end of the text after I refresh the RichTextBox everytime?
Thanks
Thanks
|
Click to See Complete Forum and Search --> : RichTextBox Leo Koach January 26th, 2000, 10:00 PM How can I put the curser at the end of the text after I refresh the RichTextBox everytime? Thanks January 27th, 2000, 05:40 AM Hi ..After having the text in RTB u use the code below I have written for Command1_click.. Private Sub Command1_Click() RichTextBox1.SelStart = Len(RichTextBox1.Text) RichTextBox1.SetFocus End Sub Private Sub Form_Load() RichTextBox1.Text = "fkj hr hrejreh tre.t erthejt hrej ehyjeherjyhjyyhj yhtj7rt" End Sub codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |