[fpc-pascal] LTR or RTL info from users locale settings?
ik
idokan at gmail.com
Mon Apr 6 20:27:37 CEST 2009
On Mon, Apr 6, 2009 at 9:15 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com>wrote:
> On Mon, Apr 6, 2009 at 7:30 PM, ik <idokan at gmail.com> wrote:
> > 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.
>
> Thanks. I'll double check what Java does, seeing that that is the only
> other framework I know that supports so many platforms and has the
> direction detection built in.
Java supports all of Unicode's standards, so they also implement Bidi (I
hope one day fpGUI will also support it in a native form)
>
>
>
> > I started working on something for Lazarus but I accidently deleted it
> > before backup,
>
> Git [http://git-scm.com/] is your friend! ;-)
>
>
> Regards,
> - Graeme -
>
>
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20090406/1f9498f5/attachment.html>
More information about the fpc-pascal
mailing list