[Lazarus] Initial value of BidiMode in RightToLeft system

Zaher Dirkey parmaja at gmail.com
Mon Oct 10 07:54:22 CEST 2011

On Mon, Oct 10, 2011 at 7:46 AM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com>wrote:

> Zaher Dirkey schrieb:
>  Hi,
>> I have English tools, but it work as Right to left forms, becuase it get
>> the BidiMode from the language, while i am not choose any language for my
>> application.
>> That is not bug, it is wrong behavior.
> Can you explain the correct (expected) behaviour?
> (Give a link?)
> I've never been working in an RTL environment, and have no idea how it
> should behave with Unicode (UTF-8). With Ansi controls it looks quite easy
> to me, there the choosen font (maybe language) imposes either LTR or RTL
> reading, with no further adjustments required.
When i start new application it is normal to be English And left to right,
not Right to left

If i want it Arabic (RTL) i must set it by my self, after my language
loaded, or if my form already done in Arabic language.

GetLanguageIDs get the RTL of the my envirement system (Windows) not from my
My system set to be RTL, now my English application set to be RTL, and that

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.

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111010/2c19fb97/attachment-0003.html>

More information about the Lazarus mailing list