Results 1 to 4 of 4

Thread: Question about Focus and selectionstart

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    2

    Question about Focus and selectionstart

    hey everyone,

    Private Sub rtbreceive_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rtbOntvangen.TextChanged
    rtbreceive.SelectionStart = rtbreceive.TextLength
    rtbreceive.ScrollToCaret()
    rtbreceive.Focus()
    End Sub

    rtbreceive = a richtextbox

    Would someone give some explanation what a .Focus and .Selectionstart do?
    Last edited by Arash; Jan 7th, 2009 at 05:34 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width