Texteditor.SetColor

Discuss GUI programming with the MUI Royale plugin here
Post Reply
ilbarbax
Posts: 166
Joined: Thu Apr 01, 2010 6:41 pm

Texteditor.SetColor

Post by ilbarbax »

How to disable setcolor in a texteditor string?
I casually found that moai.DoMethod(id$, "SetColor", start, end, 0) does it but I'm not sure it is the right way. I'm not sure that all the escape characters are removed and I get a plain text.
Can someone give some light on this matter?

thanks
ilbarbax
Posts: 166
Joined: Thu Apr 01, 2010 6:41 pm

Re: Texteditor.SetColor

Post by ilbarbax »

Sorry I selected the wrong thread lt needed to be under rapagui
May the administrator move this post? Thanks
plouf
Posts: 722
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Texteditor.SetColor

Post by plouf »

you dont need at all coloring?
maybe seting Texteditor.Styled to false which disables it?
Christos
Post Reply