Results 1 to 3 of 3

Thread: [RESOLVED] Cursor question?

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    11

    Resolved [RESOLVED] Cursor question?

    I need to place my text curosor (the little "|" that flashes) to a certain point in the text in my rich text box, basically I want to make it go to the very end of all the text, spaces, etc. (len(main.text)) but how would I move the cursor thing accordingly?

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Cursor question?

    Use the SelStart property of the rtb.
    VB Code:
    1. rtb.SelStart = len(rtb.text)

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    11

    Re: Cursor question?

    Quote Originally Posted by dglienna
    Use the SelStart property of the rtb.
    VB Code:
    1. rtb.SelStart = len(rtb.text)
    Thanks alot...works now!

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