PDA

View Full Version : Change the attributes of the text on a button


intellagent
09-19-2005, 01:03 AM
Hi,

How is it possible to change the attributes of the text, e.g. the forgroundcolor of the text itself, on a button?

Thanks

hqm
09-19-2005, 06:21 AM
There is a "style" class that can be passed to a component to set the style. Text fgcolor is settable that way I think.

See the example

examples/components/style_example.lzx