so i am creating this message field with

self.text = wx.TextCtrl(panel, pos=(150,22),size=(100,20))

and it works, no problem
but i'd like that the text gets written from the right and not the left
which is a pain...

anyone have a slight clue on how to do it ?
help appreciated :)

Use the style wx.TE_RIGHT ok?

eg

wx.TextCtrl(self,-1,style=wx.TE_RIGHT)
commented: genial +0

Use the style wx.TE_RIGHT ok?

eg

wx.TextCtrl(self,-1,style=wx.TE_RIGHT)

thanks :'D

Well you are welcome. You can now close the thread and upvote me if you liked my lil help ;)

but i don't know how to close it -.-

Just look around.. something live thread solved button or link.

and dont forget to upvote me. ;)

Just look around.. something live thread solved button or link.

and dont forget to upvote me. ;)

yay, found the button :'D

you're already upvoted :p

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.