[Lazarus] Initial value of BidiMode in RightToLeft system

Zaher Dirkey parmaja at gmail.com
Tue Oct 11 19:16:19 CEST 2011


2011/10/10 ik <idokan at gmail.com>

> On Mon, Oct 10, 2011 at 17:16, waldo kitty <wkitty42 at windstream.net>wrote:
>
>> On 10/10/2011 02:31, ik wrote:
>>
>>> Hi Zaher,
>>> 2011/10/10 Zaher Dirkey <parmaja at gmail.com <mailto:parmaja at gmail.com>>
>>>
>>>    In short to understand what happened
>>>    ----------
>>>    Imagine that you made an English tools worked fine for you (not multi
>>>    language tools), and you send it to me, that tools will flip to use
>>> RTL in
>>>    my system with English language.
>>>    ----------
>>>
>>> I agree with you, but most Delphi developers decided that the want more
>>> Delphi
>>> approach rather then anything else, so that why you have that code afaik.
>>> It's time to think what we prefer, Delphi computability or decide if we
>>> want to
>>> set new ground rules.
>>>
>>
>> ido, are you saying that delphi compiled english language apps that are
>> executed on RTL systems will flip the english backwards and display it RTL
>> instead of LTR???
>>
>>
> As far as I understand, yes. I never tried it myself, or seen their code
> for that.
> There was a discussion at the forums or here at the malling list (I can not
> find it) early this year about this subject.
>
> Ido
>
>
Hi Ido, I think this piece of code belong to you, i want to understand the
original problem, maybe we can resolve it in another way.

LCLGetLanguageIDs(LangDefault, LangFallback);
  if LangDefault <> '' then
    FBidiMode := Direction(LangDefault)
  else
    FBidiMode := Direction(LangFallback);

Best Regards
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111011/66767b1e/attachment-0003.html>


More information about the Lazarus mailing list