Page 1 of 1

Texteditor.SetColor

Posted: Wed Apr 29, 2026 2:32 pm
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

Re: Texteditor.SetColor

Posted: Thu Apr 30, 2026 10:38 am
by ilbarbax
Sorry I selected the wrong thread lt needed to be under rapagui
May the administrator move this post? Thanks

Re: Texteditor.SetColor

Posted: Thu Apr 30, 2026 8:15 pm
by plouf
you dont need at all coloring?
maybe seting Texteditor.Styled to false which disables it?