PDA

View Full Version : Changing the colour of text attached to a radio button


scorpio
06-10-2004, 08:36 AM
Hi,

I was wondering if there was a way to change the colour of the text that is attached to a radio button?

Thanks.

antun
06-10-2004, 09:23 AM
radiogroup has a style attribute which accepts an object as an argument. The object can contain a textcolor parameter:


<radiogroup id="r1"
style="{textcolor:0xff0000}">
<radiobutton value="1">one</radiobutton>
<radiobutton id="r1b" value="2" selected="true">two</radiobutton >
<radiobutton value="3">three</radiobutton>
</radiogroup>


-Antun