[Fxruby-users] Text color
Status: Inactive
Brought to you by:
lyle
From: Arash A. <thu...@th...> - 2004-04-10 03:32:54
|
Hi, I wonder if there's a way to color specific strings, e.g. I would like to color the word "bottle" blue and "neck" red. This is what I've tried: text = FXText.new(aFrame, nil, 0, TEXT_WORDWRAP|TEXT_READONLY) text.text = "a lot of text" text.textColor = 255 What I get is the color red for the whole text. Did I miss something in the API documentation? Regards, Arash |