tags:

views:

463

answers:

3

Hi all im using colorpicker for fontcolor. i want to know when i choose any color from colorpicker, all text color shuld change to choosen color. is it possible to use css to over come the probelm .thanks

+1  A: 

Add an event handler to the change event of the colorpicker and assign the selectedColor property as the color style of the application.

application.setStyle("color", colorPicker.selectedColor);
Christophe Herreman
A: 

in my main application i added more than modules. in that module contain button and label so on. in one of the module have colorpicker control. if i choose any color from colorpicker depending on that all module inside control text color should change. so what christophe given sample based on that i specify instead of that my contol name.so its too diffcult bcz lot of cotrols r n my applicatiaon.so is it possible to change based on one code to change all control text color?

A: 

Thanks... one answer for many questions on my mind...