Results 1 to 3 of 3

Thread: RichTextBox

  1. #1

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249

    Question

    Hi,

    Where can i find or How can i use the "righttoleft" in the RichTextBox ? (in textbox the properties RightToLegt exist but in RichTextBox its go'n)

    Thanks

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Lightbulb

    This may not be what you are looking for but anyway...
    Code:
    rtf1.SelStart = 0 'Go to the start of the textbox
    rtf1.SelLength = Len(rtf1.Text) 'Select everything
    rtf1.SelAlignment = 1 'Put everything to the right
    rtf1.SelStart = Len(rtf1.Text) 'Go to the end of the box
    did this help?

  3. #3

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    David,

    Thanks, its work fin.
    Btw do u know how can i use 'rtfHighlight' for all the occurens that found? (i am searching for string in the richtextbox and i like to know how meny times the string found and highlight theme)

    Thanks for the previous reply.

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