<div dir="ltr"><div class="gmail_quote">On Mon, May 14, 2012 at 7:26 PM, Zaher Dirkey <span dir="ltr"><<a href="mailto:parmaja@gmail.com" target="_blank">parmaja@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, Lazarus team<br><br>Yes, I know, I will be importunate for it, sorry for that.<br><br>In application.inc at line 128<br><br>  {$ifndef wince}// remove ifdef when gettext is fixed<br>  LCLGetLanguageIDs(LangDefault, LangFallback);<br>

  if LangDefault <> '' then<br>    FBidiMode := Direction(LangDefault)<br>  else<br>    FBidiMode := Direction(LangFallback);<br>  {$else}<br>    FBidiMode := bdLeftToRight;<br>  {$endif}<br><br>This takes the BidiMode from the system, if the system desktop is Right To Left, initial value of FBidiMode is bdRightToLeft, and it is wrong.<br>

<br>Why wrong.<br><br>You, and other developers make a new application and compile it on your system then it work fine, now send it to me, what you expected it to run, in Right To Left alignment or in Left To Right as you programmed it?<br>

<br>I think you expected as it programmed into your system, I mean Left To Right.<br>But when I receive it from you it will run in Right To Left alignment<br><br>And all my English tools (not multi language) for example will run with wrong alignment in Right To Left on my system, while it must run in Left To Right.<br>

Only Arabic or Hebrew program that chooses this language for our application must run in Right To Left, it must not depend on the system.<br><br>I am using last revision of Lazarus, FPC 2.6<br><div dir="ltr"><br>Best Regards<span class="HOEnZb"><font color="#888888"><br>

Zaher Dirkey</font></span></div><br>
</div>
</blockquote></div><br>Reported as bug<br><br clear="all"><a href="http://bugs.freepascal.org/view.php?id=22044">http://bugs.freepascal.org/view.php?id=22044</a><br><br><div dir="ltr">Best Regards<br>Zaher Dirkey</div><br>

</div>