cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the colour of the text ?

Former Member
0 Kudos

Hello All,

I have noticed that there is no property fields that enables me to change the colour of the text in labels. Can someone kindly advise how to do that or its not possible for WD ? Thank you.

from

Kwok Wei

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You cannot change color of text in labels. Maybe change the theme could be one option. But i havent tried it out. For this purpose we use TextViews which have a property called SemanticColor. You can try that option.

regards

ravi

Former Member
0 Kudos

Thanks Ravi ! So I guess no one will be able to colour a label red for warning purposes I guess ?

from

Kwok Wei

Former Member
0 Kudos

Hi

Yes.You cannot change the color of text in a label.

regards

ravi

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I think adopting webdynpro themes is best way to solve this problem.

I suggest you to go through http://service.sap.com/notes ->779659

also go through this forim

hope your problem solved..

Regards,

RK

Former Member
0 Kudos

"So I guess no one will be able to colour a label red for warning purposes"

For warnings and errors you can use standard messages provided by webdynpro.

You can find a tutorial "A Simple Input Form with Message

and Error Service Support" regarding this topic in:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/a simple input form with message and error service support.pdf.

Regards,

Daniel Sacco