Results 1 to 2 of 2

Thread: RichTextBox, moving Home

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Tucson, AZ, USA
    Posts
    95
    I am using some code that searches and finds open and close tags and changes the font color for all in between. The problem is when it finishes it leaves the cursor at the point of the last item it changed. Is there a way to tell the cursor to go home, or to the begininning of the text file that is loaded in the RTB. Thanks


  2. #2
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    maybe I don't understand your question but here is a guess.
    richtextbox1.selstart=0
    richtextbox1.sellength=0
    richtextbox1.seltext

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