| || |
retreving the text color.
I have some text in an editbox and i want the color of the text.The code which i used is retreving the color code value. something like #7d868b.The code which i have used is as follows...
Set ctrlWebEl =Browser("Carnival Cruise Lines:").Page("Carnival Cruise Lines:").WebEdit("query")
Set objWebEl = ctrlWebEl.Object
sColor = objWebEl.currentStyle.color
How can i get name of the color.
Re: retreving the text color.
Asked and answered many times for several different objects. Plus there is thread in the FAQs on this subject (perhaps not the exact object you are after, but you should be able to use the information and then experiment):
25 Getting color of a text box
In the future please SEARCH first and POST second.