Results 1 to 10 of 10

Thread: Right To Left reading for RichText

  1. #1

    Thread Starter
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85

    Post

    I need to set my RichTextBox to be right to left reading.
    It has no property to do that like the TextBox control.

    Is there any api to do this? or What to do?

    Thanks for help

    ____________________________________________
    Feras Helwani
    windows 95
    Visual Basic 6 SP4 (not recomended)
    Visual Basic 5 --- (chosen)
    Both in use.

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    do you mean that you want the text to be input backwards?
    example:
    instead of "hello" it would read "olleh"

    is that what your going for?

  3. #3
    Lively Member
    Join Date
    Sep 2000
    Posts
    116
    You mean you want to print from right to left (like
    the arabic language)?

    .sid is name my

    That is what you want?
    0101011001000010
    01101111011011100110110001101001011011100110010101110010

  4. #4

    Thread Starter
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85

    Red face


    I need that because my language is right to left reading.
    For example: in RichText if I wrote: ArabicString1 & EnglishString

    Thats mean I'll read from the midle to the first (for the arabic string because it starts at the right) and when finish reding that (at the left edge) I nust to the middle again to continue reading the English one.
    Try imagine that with this string:
    "arabic in written is string This, But this one in English"
    Yesterday is history ... Tomorrow is mistry .. Today is a gift.

    VB6 , intermidiat

  5. #5
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I don't understand, do you want a combination of the Arabic style and the English style, or just the Arabic, or what?

  6. #6

    Thread Starter
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85

    Yes

    That's right, a combination of both.
    So if the control was right to left reading the above string will become like this:
    "But this one in English ,arabic in written is string This)
    (start reding from the right edg)
    and this what I need.

    I hope that explains my point.
    Yesterday is history ... Tomorrow is mistry .. Today is a gift.

    VB6 , intermidiat

  7. #7
    Lively Member
    Join Date
    Sep 2000
    Posts
    116

    Cool

    My name is Feras, and in arbic it goes
    like this from right to left: saref imsi ana.

    That is pretty hard to accomplish!

    0101011001000010
    01101111011011100110110001101001011011100110010101110010

  8. #8

    Thread Starter
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85
    VBonliner !! I see you'r speaking arbic?

    If any one find any thing relates with that during his surfing at any time I hope to email me at [email protected] with my thanks.

    [email protected]

    Yesterday is history ... Tomorrow is mistry .. Today is a gift.

    VB6 , intermidiat

  9. #9
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    258
    Just a thought

    For left to right set the right margin bigger than the left .
    For the Right to left left set the left margin bigger than the right , reverse the string and print it to the box .

    just a thought .
    Visual Basic 6 SP4 on win98se

    QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!

  10. #10
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Vbaccelerator got the control you need!!!

    http://vbaccelerator.com/codelib/richedit/riched3.htm

    You can use 2 language scripts... that what you want?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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