|
-
Oct 7th, 2000, 06:59 PM
#1
Thread Starter
Lively Member
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.
-
Oct 7th, 2000, 07:01 PM
#2
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?
-
Oct 7th, 2000, 07:35 PM
#3
Lively Member
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
-
Oct 7th, 2000, 07:42 PM
#4
Thread Starter
Lively Member
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
-
Oct 7th, 2000, 07:46 PM
#5
I don't understand, do you want a combination of the Arabic style and the English style, or just the Arabic, or what?
-
Oct 7th, 2000, 07:59 PM
#6
Thread Starter
Lively Member
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
-
Oct 7th, 2000, 08:28 PM
#7
Lively Member
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
-
Oct 7th, 2000, 08:45 PM
#8
Thread Starter
Lively Member
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
-
Oct 8th, 2000, 06:17 AM
#9
Hyperactive Member
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 !!!!!
-
Oct 8th, 2000, 07:03 AM
#10
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|