cancel
Showing results for 
Search instead for 
Did you mean: 

Two buttons with different colors

Former Member
0 Kudos

Hi,

I am very new to the Web Dynpro. I have placed two buttons in my web dynpro application. What to want to change the first button color to RED and Seond button color to GREEN. How to do this?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Praveen,

We have very limited options while changing the colors of the UIElements in WebDynpro.

There is no direct way to change the color.

For the Button UIElement we have a property called Design.

You can set the property value to "emphasized" or "standard" to get different look & feel.

Or Check the following article by Bharathwaj

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/co... webdynpro applications.pdf

Regards, Anilkumar

Message was edited by: Anilkumar Vippagunta

Former Member
0 Kudos

Praveen,

This is not possible (even if you alter original WD theme).

Use Link2Action UI control with corresponding images instead.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com/

Former Member
0 Kudos

Hi,

Thanks for valuable time.

I have alreay tried the themes concept. But in my case the themes are not useful.

Now, I came to a conclusion that " I can't have 10 button with 10 different colors in my application " ( I don't want to use the images...).

If am wrong please correct me.

Former Member
0 Kudos

Hi,

Surprise !

If you want only 2 buttons of different colour u might be lucky .. !

10 buttons 10 colors..it is not possible ...

There are two types of buttons design .. standard and emphasized..

You can set the color of these 2 types of buttons to any thing u want from 65k :)...(Using themes.. !)

so u have to use the emphasized .. design when u want a different color for the button !

Regards

Bharathwaj