Right-to-Left TextCtrl

Hello,

I am trying to implement a TextCtrl for languages which read from right to left, such as Arabic. I use wxTE_RIGHT but this only sets the alignment. There seems to be a control attribute called RTLRO (right-to-left reading order) but this doesn’t seem to be implemented in wxPython. Does anyone have an idea on how to go about this?

Frans

···

Deel en publiceer je favoriete foto’s met Windows Live Photos

Hello,

···

On Mon, Feb 16, 2009 at 10:27 AM, Frans Stronkman pyfrans@hotmail.com wrote:

Hello,

I am trying to implement a TextCtrl for languages which read from right to left, such as Arabic. I use wxTE_RIGHT but this only sets the alignment. There seems to be a control attribute called RTLRO (right-to-left reading order) but this doesn’t seem to be implemented in wxPython. Does anyone have an idea on how to go about this?

See: wx.TextCtrl.SetLayoutDirection

Cody

Hi Cody,

This works.

Thanks!

Frans

···

Date: Mon, 16 Feb 2009 10:33:41 -0600
Subject: Re: [wxpython-users] Right-to-Left TextCtrl
From: codyprecord@gmail.com
To: wxpython-users@lists.wxwidgets.org

Hello,

On Mon, Feb 16, 2009 at 10:27 AM, Frans Stronkman pyfrans@hotmail.com wrote:

Hello,

I am trying to implement a TextCtrl for languages which read from right to left, such as Arabic. I use wxTE_RIGHT but this only sets the alignment. There seems to be a control attribute called RTLRO (right-to-left reading order) but this doesn’t seem to be implemented in wxPython. Does anyone have an idea on how to go about this?

See: wx.TextCtrl.SetLayoutDirection

Cody


Plan je feest, nodig mensen uit en deel je foto’s met Windows Live Events