No, you can not know by the "normal" locale. You must check to see what is the type of locale: 1. Hebrew 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 LeftToRight. 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). Ido On Mon, Apr 6, 2009 at 8:17 PM, Graeme Geldenhuys <graemeg.li...@gmail.com>wrote: > Hi, > > 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. > > > Regards, > - Graeme - > > > _______________________________________________ > fpGUI - a cross-platform Free Pascal GUI toolkit > http://opensoft.homeip.net/fpgui/ > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal