-
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.
-
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?
-
You mean you want to print from right to left (like
the arabic language)?
.sid is name my
That is what you want?
-
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"
-
I don't understand, do you want a combination of the Arabic style and the English style, or just the Arabic, or what?
-
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.
-
My name is Feras, and in arbic it goes
like this from right to left: saref imsi ana.
That is pretty hard to accomplish!
-
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]
-
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 .
-
Vbaccelerator got the control you need!!!
http://vbaccelerator.com/codelib/richedit/riched3.htm
You can use 2 language scripts... that what you want?