Skip to Content
avatar image
Former Member

change color of text in list Box

Hi

I have a disabled list box with dynamic entry list. The text is displayed in very light grey color. How can i change the color of the displayed text to black.

Thanks,

Harsimran

Message was edited by:

Harsimran Kaur

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 23, 2007 at 06:44 AM

    No other answer then for the input field.

    But another method might be:

    https://wiki.sdn.sap.com/wiki/display/VC/Changing+Colors

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      As Mario mentioned there is no other possibility. With the next SP, it should be possible to change colors in VC. Luis could give you more details.

      Best Regards,

      Marcel

  • avatar image
    Former Member
    Feb 23, 2007 at 11:52 AM

    Hi Mario n Marcel

    Thanks for your reply

    The solution for input fields does not work with list box.

    N abt that wiki i have tried earlier, it didnt work out

    Any other help will be appreciated

    Thanks

    Harsimran

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      If you are familiar with CSS, you could try to manipulate ...portalapps/com.sap.vc.mmcompiler/res/root/vc/skins/default.css. It should be the "text" style, but I am unsure at the moment. What you have to keep in mind: Changing this style will change the textcolor in input-fields and other visual objects as well. And, while this is a dirty trick, I have to suggest: "Don't try this at home". Axel