<div dir="ltr">No, you can not know by the "normal" locale. You must check to see what is the type of locale:<br>1. Hebrew<br>2. Many forms of Arabic (you have more then 6 if I remember correctly)<br><br>That's the only way I know to detect if the locale is RightToLeft or LeftToRight.<br>
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).<br><br>Ido<br>
<br><br><div class="gmail_quote">On Mon, Apr 6, 2009 at 8:17 PM, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com">graemeg.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Does the RTL have any why to notify me if the users locale is<br>
LeftToRight or RightToLeft? I'm porting the MiG Layout Manager from<br>
Java to Free Pascal for use with fpGUI Toolkit and Lazarus LCL, and<br>
need to somehow find this information.<br>
<br>
<br>
Regards,<br>
- Graeme -<br>
<br>
<br>
_______________________________________________<br>
fpGUI - a cross-platform Free Pascal GUI toolkit<br>
<a href="http://opensoft.homeip.net/fpgui/" target="_blank">http://opensoft.homeip.net/fpgui/</a><br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br></div>