S Lebans Justification Class For Right-To-Left languages

C

cl

Hi!
Stephan would there be a way one can use your class with RTL
languages. If i use it now on a Right to Left Language it reverses the
entire text.
Perhaps someone has successfully converted it?
Thanks
 
S

Stephen Lebans

Several users have asked me to add support for RTL language but as I only
read/write English the task would be difficult at best.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
C

cl

Several users have asked me to add support for RTL language but as I only
read/write English the task would be difficult at best.

--

HTH
Stephen Lebanshttp://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.






- Show quoted text -

Stephen Hi,

Thanks for your reply.

Actually I have succesfully done it. Just finished. The only issues
where:

1) the second to the last line was not fully justifying (I think only
when there was one word left on the last line)-- I'm not sure if it is
only because of what I did, or it would be an issue anyway (something
in the comments)-- in any case I changed an >= to > more than and it
seems to have taken care of that.
If x > lngNumTokens Then boolEOF = True Else boolEOF = False
'changed >= to >


2)For the last line (EOF) I had to move it to the right so I added to
eof else

'added for rtl---- used to be *2 but *8 works???
rpt.CurrentX = ((intCurCtlLeft + CtlCurrent.Width -
(lngMargin * 8))) - rpt.TextWidth(strTemp)
'-------------------------------------------------------
i'm not sure why I couldnt move it exactly to the right so i played
and added *8, it seems to be just about right.

3)certain characters such as ' were giving some trouble.

Thanks again and please let me know what you think.
 
S

Stephen Lebans

Great job!
Could you send me a sample MDB that I could post on my Web site? I'm sure
there are lots of other users who could benefit from your modification.
Don't forget to include your name in the source code!

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
C

cl

Stephen said:
Great job!
Could you send me a sample MDB that I could post on my Web site? I'm sure
there are lots of other users who could benefit from your modification.
Don't forget to include your name in the source code!

--

HTH
Stephen Lebans
http://www.lebans.com
I just realized that there is a problem if you have 2 controls one
beneath the other and the upper one is set to cangrow=yes. the text of
the lower one will not move down when using the class.
Please help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top