I made very simple example with following settings:
- RichViewEdit BiDiMode is set to rvbdRightToLeft
- Paragraph BiDiMode is set to rvbdRightToLeft
- Paragraph Alignment is set to rvaRight
- TextStyle BiDiMode is set to rvbdRightToLeft
I have a button with follwing procedure on button click:
AddNL(Edit1.Text, rvsDefStyle, -1);
Format;
Edit1.Text contains some Hebrew values that are changed every time before click.
On my XP machine it works fine, every click adds chars according to RightToLeft scenario.
When I run the same compiled application on Windows 2000 machine, it works different. It always puts added chars to the first position on the right side. I evaluated CurItemNo in inspector and it was always 0. When I just edit a text in the component, it works perfect.
Reload doesn't fix the problem.
I made another test: File which I produced on XP machine (it looked correct), I reloaded on Windows 2000 machine and I got the same problem: Order of chars became wrong.
Make sure that Hebrew support is installed in this Windows 2000.
Control Panel, options about language (something like "Regional and Language Options"), find Hebrew in the list of languages and check it.
I definetly have full Hebrew support installed on Windows 2000 machine.
I made another test:
I saved the same content from XP machine in two formats (RVF, RTF) and loaded it after on Windows 2000 machine. RTF file was loaded OK, but rvf as I described in my previous post.