[Lazarus] Initial value of BidiMode in RightToLeft system

Zaher Dirkey parmaja at gmail.com
Sun Oct 9 22:14:49 CEST 2011


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.

application.inc line #111

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

This check must done manually by the developer when he choose new language
(RTL) or load it.

FPC 2.4.4
Lazarus last 32791

Thanks
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111009/1d7e4e45/attachment-0002.html>


More information about the Lazarus mailing list