Try setting the opaqueBackground property on it to true.
"charger" <firstname.lastname@example.org> wrote in
> Anyone know of a way to change the background color of a
text control in
> (I've tried HTML tags in htmlText prop, subclassing the
text control and
> setting backgroundColor prop to no avail)
Text controls extends the Label control with has a protected
member named textField of IUITextField. The object type created for
IUITextField interface is UITextField which in turn has
backgroundColor property! Mind you, it's not a style, but a
So if you subclass Text class and get the textField member
and try to set its backgroundColor property, it *should* work!