Color in formatted_text_view element

Hi all,
For any tag in formatted_text_view, can we have different color?
for example if we have three line text in this element, can those all have different color?
Thanks

Hi
creat the attribute as baskar mentioned and bind it to the table coloum's cell design property .
below code will help youto get the color for cell based on condition .
method WDDOINIT .
* Coding for colouring the cell
LOOP AT lt_scarr INTO wa_scarr .                                        "WHERE currcode = cky .
    IF wa_scarr-currcode = cky .                                            " condition checking
      wa_scarr-cell_design = cl_wd_table_column=>e_cell_design-negative.   " Redcolor
      wa_scarr-img  = '~Icon/GreenLed'.
     ELSE.
      wa_scarr-cell_design = 02.
      wa_scarr-cell_design = cl_wd_table_column=>e_cell_design-positive. "Green color
    ENDIF.
        MODIFY lt_scarr FROM wa_scarr TRANSPORTING   cell_design.
  ENDLOOP.
endmethod .
Regards
chinnaiya P

Similar Messages

  • How to color the text  elements in script?

    how to color the text  elements in script?
    byeeeee
    plz send the answers

    Hi,
    Please go through my blog to know how to do color printing in SAP scripts.
    White Paper on 'Color Printing in SAP Scripts'
    Regards,
    Sireesha Ch

  • Set color of inactive elements

    Hii all
    I have a table layout form
    I have a field which called status(T ,I, O)
    When i click a button the status of those elements which satisfy a condition is changed to T
    and the elements with status T are disabled
    now i want to change the color of the elements which are disabled
    like     Inactive record elements will be black foreground, r100g50b0 background.(orange)
    how can i do it ??
    plzz help
    mandar

    Loop through the records of your database block.
    Check if the item is disabled (Get_item_property).
    If true than change the back ground color of the record (Set_block_property(...,CURRENT_ROW_BACKGROUND_COLOR,...))

  • What can I use instead of color variations in Elements 12?

    I had a copy of Elements 6 for many years. The feature I used most often was color variations. Unfortunately, I was unable to install my copy on my new computer, and I figured it was time to upgrade to the latest version anyway. Image my surprise when I discovered there was no feature called Color Variations in this version. I'm floored. Most of what I do in Elements doesn't have to do with photography; I am scanning book covers and must have the colors display accurately. I have not yet figured out what to use instead. All help appreciated.

    If you are on WINDOWS, you can put Color Variations into PSEv.12. See here:
    Pse12 color variation function removed - Elements Village
    Hopefully, you still have access to PSEv.6.

  • Saving colors to Photoshop elements 5.0?

    Hi, I am a learning to digital scrapbook. I have the program
    Photoshop Elements 5.0 and was wondering if I can save the color
    swatches or schemes to my computer and be able to open them up in
    my program to sample and use these colors schemes I make. To make
    my digi pages?
    Thanks,
    Kimpy-Pie

    Hello, please see
    this
    previous post for the answer.
    The new
    kuler
    desktop will let you easily copy/paste Hex values from your
    Clipboard as well as search/browse themes. Download the
    AIR
    runtime file first.

  • How to provide background color to screen elements in screen designing?

    Hi all
        I am preparing a screen in module pool programming.
        I created 1 screen in that.
        How can i provide colors or background colors to my screen elements on that screen.
        Is this facility is there?
        If any body knows this please reply to this.
    Regards,
    K.S.L.Neelima.

    Hello
    I don't think it is posible... change the colour of screen element but you can only change the background color of screen but you can not put any elemnet on that screen using  picture control check for program RSDEMO_PICTURE_CONTROL will help you.

  • My color picker in elements 8 is not working

    When I pick a color with the color picker on Photoshop Elements 8  and I click OK, no matter what color I pick it shows gray. What is wrong??

    Thank you. It only went to grayscale when I opened a new blank file. Now it works. Never happened before. I must have inadvertantly hit the grayscaler mode key when I opened the blank file. Thanks again.

  • Change color of an element of JList

    I would like to put some elements in different color in my JList, I know how to change all the elements but not how to change just one or several.
    Thanks in advance.

    You need to implement your cell renderer to do that.

  • Having problem with correct color using Photoshop Elements 9 and Hp photosmart c6150.

    Have been trying to print pictures from PSE9 to HP Photosmart C6150 and the colors are overly red and not the same as the original photo.  I tried to get the ICC profile online without any success.  How do I setup my color management on PSE9 and my C6150 to get the best pictures.  I am using HP Premium Plus Photot Paper.

    Delete the editor's preferences: quit it, then restart it (use the button in the welcome screen or organizer) while holding down ctrl+alt+shift. Keep the keys down till you see a window asking if you want to delete the settings file. You do.

  • Howto change color for all elements

    I want to update the formatting for some existing Keynote presentations. Applying a new Theme does most of the work, but there are some things that are not updated to the new theme. For example: background color of certain text boxes -- and the color of actual bullets for bullet points.
    In the case of these presentations:
    - the background color of the textboxes is blue and I want them all to be transparent
    - the color of the bullets is blue and I want them all to be the default color/picture of the particular theme
    I realize this is because Keynote is "respecting" textbox formatting changes I have made in the original, but it would be nice if I could over-ride this "respect" somehow. It is easy to select all the text of a Keynote presentation and apply various ways to all the text. Is there a trick for selecting all textboxes (and changing the background color of them) -- or of specifying something to the effect of, "apply the following format to all the bullets in a presentation?

    Ok, in that file, you'll find a set of parameters that looks like this.
    sfa:r="1" sfa:g="0" sfa:b="0" sfa:a=".5"
    Those stand for the red, green, and blue of a color and the last one is the opacity. This particular combination would create a red object with 50 percent opacity. Still looking for which one of these controls the background of a text box.
    You know, it looks like if you go through the file searching for sf:fill and deleting that section, then that removes the fill. Once you find the right section, one find and replace would do it for you. It's one of those things that makes me wish I was handy enough with Automator and/or Applescript.
    Message was edited by: Kyn Drake

  • How to color the text element in selection screen

    hi,
    i am going to pass some text element in selection screen output  and my requiremnt is text element should be given some colour.
    plz guide me.
    regards
    muthuraman.d

    Hi...
    Dont Declare your field as OBLIGATORY.
    Instead perform the validation in AT SELECTION-SCREEN event. But validation should be only when Particular Radiobutton is selected.
    And Generate only Error Message (Type E).
    Try this code:
    AT SELECTION-SCREEN on <yOUR mandatory field>.
       IF PA_UPD = 'X'.
             IF <YOUR MANDATORY FIELD>  IS INITIAL.
                  Message 'Entry is must in this field' type 'E'.
             ENDIF.
       ENDIF.
    AT SELECTION-SCREEN OUTPUT.
    IF pa_udp = 'X'.
    LOOP AT SCREEN.
    IF screen-group1 = 'ABC'. "#CCE
    screen-active = 1.
    ELSEIF screen-group1 = 'DEF'.
    screen-input = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_rep = 'X'.
    LOOP AT SCREEN.
    IF screen-group1 = 'ABC'. "#CCE
    screen-input = 0.
    ELSEIF screen-group1 = 'DEF'.
    screen-active = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDIF.
    <b>Reward if Helpful</b>

  • 16 bit color in PHOTOSHOP ELEMENTS

    I get an Error when using some of my tools (example: Healing Brush) in FULL EDIT  that states that "16 bit color not supported .  Convert to 8 bit color?"
    Will Photshop 9 work with 16 bit color?  Considering most cameras esp. DSLR's and scanners now use 16 bit color I hope so.

    Some features of PSE will work on 16 bit images, other features of PSE will not work on 16 bit images and you have to convert the image to 8 bits. I don't have PSE9, but it is my understanding that if a feature didn't work on 16 bit images in earlier versions, it won't work on 16 bit images in the current version (PSE9).

  • Can I change the workspace color in Photoshop Elements 12, to Black or dark grey?

    Can I change the workspace in Photoshop Elements 12, to black or dark grey? I do not like the light grey, around my tools.

    You can use PhotoInfo to change the dates on a single or batch of photos. You can even do it within iPhoto by selecting PhotoInfo as the editor to use when you double click on a photo. But iPhoto won't recognize the changes unless it's exported and reimported. You can use PhotoInfo to batch check/change your photos before importing into iPhoto.
    What I've done is to export the full sized images to a folder on the desktop, named the folder the same as the roll they were in, run Photoinfo on the batch and then drag the folder into the open iPhoto. Then delete the original roll. Works fine.
    OT

  • DropDownByIndex - different coloring for contained elements

    Hi community,
    I'd like to have a DropDownByIndex display some of the contained items with a different background and a tooltip.
    I'm pretty sure this is not possible with Web Dynpro as a fine-grained control of the visual representation of the generated ui elements seems to be impossible but maybe there is special or work-around I have not stumbled over yet.
    It is - however - an easy task with JSP, but I'm sick and tired of AbstractPortalComponents... ;-(
    Thanks for your help!
    regards,
    Christian

    Hi Christian,
                    To display tooltip for DropDownByIndex, there is property
    tooltip. 
    For different background, just set the layout property of Container (which contains  the DropDownByIndex- RootUIElementContainer) to GridLayout.
    In the DropDownByIndex properties change cellBackGroundDesign  to your choice.
    regards,
    Siva
    Sorry:I have overlooked the words contained items with  and misunderstood your requirement  
    So I can not give better answer than  Armin
    Edited by: Siva Rama Krushna on Jan 9, 2008 5:42 PM

  • Pantone colors in elements 12?

    Can I access Pantone colors from photoshop elements 12?  If so, how do I do it?  THanks!

    As far as i know the only way is to install the swatches or load the swatches from a folder on your computer and then use the Window>Swatches panel to load the swatches.
    Have you found some panotone swatches for photoshop?
    The swatches for photoshop usually have a .ACO or .ASE extension.

Maybe you are looking for

  • Cannot Install Itunes 8 so can't update Iphone

    Hi All, For some reason i can't install Itunes 8 onto my computer.... When I click on the link it says it "is not a valid WIN32 application". Does anyone know what this means, or how to fix it? Because I can't get itunes 8 I can't update my iphone...

  • R/3 Basis security Problem

    Hi, i am posting my problem below. Pls its urgent. <b>Problem Description.</b> Currently the project manager/ Business Analyst in the IT department downloads the output from the PMF jobs. The ultimate aim is to pass this job to the business but curre

  • Windows Vista Business with MBP - wireless not working

    I have successfully installed Windows Vista on my MBP using Boot Camp Assistant. Problem is that the wireless ethernet does not work. I have heard of some file called "Install Macintosh Drivers for Windows XP.exe". If this is what I'm suppose to use

  • Youtube msg. plug in failure

    Lately most of you tube videos come with MSG plug-in failure. I did download new  flip for mac, as well adobe flash player, with no luck. Any suggestion from this great comunity will be appriciate. Best, Dan.

  • Track Info Retrieval options...??

    Hi, all. So, when I insert a CD into my iTunes, it retrieves the tracks info. However, sometimes, it gives me two options. I selected one, but the organization of that one was a mess (Classical Music suffers a GREAT deal when retrieving this kind of