[fpc-pascal] LTR or RTL info from users locale settings?
idokan at gmail.com
Mon Apr 6 19:30:31 CEST 2009
No, you can not know by the "normal" locale. You must check to see what is
the type of locale:
2. Many forms of Arabic (you have more then 6 if I remember correctly)
That's the only way I know to detect if the locale is RightToLeft or
I started working on something for Lazarus but I accidently deleted it
before backup, so you'll have to do your own research (wikipedia and some
ISO language code will help).
On Mon, Apr 6, 2009 at 8:17 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com>wrote:
> Does the RTL have any why to notify me if the users locale is
> LeftToRight or RightToLeft? I'm porting the MiG Layout Manager from
> Java to Free Pascal for use with fpGUI Toolkit and Lazarus LCL, and
> need to somehow find this information.
> - Graeme -
> fpGUI - a cross-platform Free Pascal GUI toolkit
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal