Results 1 to 4 of 4

Thread: RichTextBox Problem

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    45

    Question

    Hi All
    I am working with the RichTextBox 6.0 is there a possibility to do RightToLeft = True
    I am writing the Hebrew language and we writing from right side to the left side and the
    SelAlignment = 1 is not enough, because all the marks like: dot, comma, or question mark in the end of the sentence coming in the opposed side.
    I have to do this RightToLeft = True in the RichTextBox
    How can I do it?

    Thanks

    Shaykan
    VBmaster

  2. #2
    Member
    Join Date
    Jan 2000
    Location
    Southbridge, MA, USA
    Posts
    40

    Unhappy

    The RTB control does not have a RightToLeft property. So, if you don't need more than 64k [in reality, probably 32k] of text and you don't have to use more than one font/style, stick with the TextBox.
    Your only other choices are to create your own ocx or go outside of M$.

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    45

    Unhappy

    This is my problem
    I have to used the RichTextBox because I have same word in the sentence that have to be in red color this is why I can’t used the regular Textbox.
    Sorry don’t know what is the M$ ?????
    And don’t know to build ocx.

    VBmaster

  4. #4
    Member
    Join Date
    Jan 2000
    Location
    Southbridge, MA, USA
    Posts
    40
    Sorry, M$ stands for Microsoft.

    Sorry, again, there just is no way to read R-to-L with a Microsoft RTB. How about from the Insertable Objects tab of the projects Components adding a Microsoft Word document? I haven't done this, so I'm not sure what do from there.

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