Displaying items in different colors in a List component

Hi.
How can I make each label of an item in a List component
appear in a different color? I can change the color of the items in
the list, but I want the items to appear in different colors...
Thanks,
- Yuval

Hi.
How can I make each label of an item in a List component
appear in a different color? I can change the color of the items in
the list, but I want the items to appear in different colors...
Thanks,
- Yuval

Similar Messages

  • How to make the item in different color in a choice?

    if I have a choice and different items, how to make the item in different color?
    like:
    Choice ColorChooser = new Choice();
    ColorChooser.add("100");
    ColorChooser.add("200");
    ColorChooser.add("300");
    I want to show green, red and blue color for item 100, 200 and 300.
    I do not know how to do that, anyone can help?
    Thanks

    Please don't double (and now your up to triple) post. I realize that to you, your problem is the most important thing in the world and it would be nice if you could get several people working on it at the same time. However, the people answering your question do not get paid for it. They are doing it because they want to help someone. Posting several times only shows that you have no respect for them and are only concerned with your problem.

  • IPad 1 display with different color line

    My iPad display shows with different colors here & there. Is that defect? Some web page is ok. But most of time you can see that.

    Mountpa-
    Your iPad may be defective, but is probably out of warranty.  An Apple Store may exchange it for a flat rate.  Look for an iPad repair center for a less expensive repair. You can find an Apple Authorized Repair Center at <Apple Authorized Repair Centers>, but non-Apple repair centers may be less expensive still.
    First check to see if your color happens to be part of your iPad's wallpaper.  Go to Settings-Brightness & Wallpaper to see how it is currently set.
    One thing you can try is to reset (reboot) your iPad.  Hold both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  The iPad will restart after a couple of minutes.  Resetting this way will not hurt anything, and sometimes clears up mysterious problems.
    Fred

  • Why don't recently viewed websites show in a different color anymore?

    Yesterday I updated to Firefox 7.0.1, and now my recently viewed websites no longer display in a different color after viewing a website and going back to the original list of websites. I still want to see which ones I have already looked at when researching. Can you tell me how to get this feature back again?

    If you are talking about the color differences between visited and unvisited in the links on your webpages then that that would be affected by any of the following:
    # changing the link colors in your Tools > Options > Content > fonts & colors: "Advanced" for which I have blue for Unvisited and magenta for Unvisited links. I have all three items check-marked "Use system colors:, "Underline links:, and "Allow pages to choose their own colors instead of my selections above".
    # Loss of history data, such as clearing of your browsing history
    #* http://img232.imageshack.us/img232/4928/clearcachew.png
    # Private browsing ("Ctrl+Shift+P") will not mark any links as visited, same would apply to permanent Private Browsing ("Always use private browsing mode") in Tools > Options > Privacy
    #* http://img232.imageshack.us/img232/4928/clearcachew.png
    I left out the link on the following and have added it, but since the above answered the question, I'm changing this last part to a footnote.
    None of which would be directly related to updating Firefox, but at such times the localstore.rdf file in you profile may be affected (corrupted), and changes made to your toolbars and options will not stick.
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Disappearing text in display item

    Facing a silly problem whereby text in a display item, which is populated automatically through the new form trigger disappears mysteriously when run on the web. The text appears fine in client-server mode. I have tried changing background colors for the display item and text color too.... in vain. But I can see that the display item is present, it is the text in it which is missing.
    Any ideas?

    Hi,
    A couple of options. Create a timer and write a pl/sql procedure which will do all those things for you, like changing background/foreground colors of your text/display item and replacing text imitating its movement. Or use image item instead with animated gif or something.
    Regards,
    Andrew Velitchko
    BrainBench MVP for Oracle Developer
    http://www.brainbench.com

  • Display Display value in Red Color in Pop Up List of value Item

    Dear All,
    i have created an Pop up List of Value item.I need to display Display value in Red Color in Pop Up List of value Item.
    What should i pass in HTML Form Element Attributes .I have try using
    style="font-color:red";That code.
    How can i display Display Value in Red Color.
    Thanks

    Is this what you are looking for?
    http://apex.oracle.com/pls/apex/f?p=42778:12
    If so..
    * Go to Shared Components -> Templates -> Select Type as "Popup List of Values"
    * Edit Popup LOV template
    * See the class name being used for div under Result Set section. In My case, its t1PopupBody
    * Under Page Attributes -> Page HTML Head section append following CSS
    <style>.t1PopupBody a{color:red;}</style>* Apply Changes
    If its not working, then inspect the pop-up lov with firebug and update CSS definition accordingly.
    Regards,
    Hari

  • How to display visited sites in a different color? For example, when I'm going down an ebay search list.

    How do I make settings so that visited sites have a different color hypertext? For example, when I'm going down an ebay search list I want to know what items I already viewed.

    * Make sure that the History is set to at least 1 day: Tools > Options > Privacy > History: "Remember visited pages for at least"
    * Make sure that you do not start Firefox in Private Browsing mode (Tools > Stop Private Browsing is grayed, see [[Private Browsing]])
    * To see all History and Cookie settings in Tools > Options > Privacy, choose the setting "Firefox will: Use custom settings for history"
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    * Shockwave Flash 10.0 r12
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • How to set different color for items in selectManyCheckbox

    hi,
    I would like to change item text background color for each item on selectManyCheckbox (different for each item).
    It is only 5 items so that could be static reference or select.
    I know only how to change background for all items
    af|selectManyCheckbox::item-text {
        background:orange;
    How to select concrete item text and change color for only them?
    I found similar problem:
    css - Set background color of every individual checkbox of p:selectManyCheckbox - Stack Overflow
    but this dont work for me because I dont have in adf tr structure
    I need somethink like this:
    af|selectManyCheckbox::item-text XXXX - select here one of the item by number on list or id  {
        background:orange;

    hi,
    thanks Alejandro and Federico for answers.
    I use JDev 11.1.1.6. I dont write it in previously post because I think that is a more css then adf problem.
    I have 5 selectItem based on simple List<String> {"text1", "text2", "text3", "text4". "text5"}:
    <af:selectManyCheckbox label="List" id="smc2"
                                               layout="horizontal"
                                               value="#{bean.listInBean}"
                                               autoSubmit="true">
                          <af:selectItem label="text1" value="text1" id="si47"/>
                          <af:selectItem label="text2" value="text2" id="si43"/>
                          <af:selectItem label="text3" value="text3" id="si46"/>
                          <af:selectItem label="text4" value="text4" id="si45"/>
                          <af:selectItem label="text5" value="text5" id="si44"/>
                        </af:selectManyCheckbox>
    and I would like to color first selectItem text to orange, second to red.. etc, The list is a static list. Not would be changed.
    After Alejandro answer I build simple for each element (anyCollection contains item with two fields: textValue and label {(text1,text1), (text2,text2)...}
      <af:forEach items="#{bean.anyCollection}"
                                      var="item">
                            <af:selectItem id="si48" value="#{item.textValue}"  styleClass="yourClassName#{var.index}"
                                           label="#{item.label}"/>
                          </af:forEach>
    And now if I have my var called "item" I can write 5 css style classe yourClassName#{var.index} with different color, but there is a problem:
    Attribute styleClass is not defined for af:selectItem
    If it will be so simple I will just add 5 style classes for each selectItem
    <af:selectItem label="text1" value="text1" id="si47" styleClass="yourClassName0"/>
    <af:selectItem label="text2" value="text2" id="si43" styleClass="yourClassName1"/>
    Should I use other component then adf facer rich?

  • Background color of a list item implemented as Tlist

    Hi,
    I have one form with 3 blocks each holding one list item. The list item that has the focus should have a different background color from the other 2 list items. I thought to implement this with visual attributes I assign in the when-new-block-instance trigger. This however only partially works.
    What happens is the following :
    At startup focus is in the first block. This block's when-new-block-instance trigger is fired :
    SET_ITEM_PROPERTY('BK_LIST.LIST',VISUAL_ATTRIBUTE ,'VA_INDICATOR');
    SET_ITEM_PROPERTY('BK_LIST2.LIST',VISUAL_ATTRIBUTE ,'VA_ENABLED_LIST');
    SET_ITEM_PROPERTY('BK_LIST3.LIST',VISUAL_ATTRIBUTE ,'VA_ENABLED_LIST2');
    and the list correctly gets it's yellow background. (defined in va_indicator)
    Va_enabled_list and va_enabled_list2 both have a white background, difference between them is the font size)
    Now when we move focus to the 2nd block we get a different behaviour. This is the trigger defined on the 2nd block :
    SET_ITEM_PROPERTY('BK_LIST.LIST',VISUAL_ATTRIBUTE ,'VA_ENABLED_LIST');
    SET_ITEM_PROPERTY('BK_LIST2.LIST',VISUAL_ATTRIBUTE ,'VA_INDICATOR');
    SET_ITEM_PROPERTY('BK_LIST3.LIST',VISUAL_ATTRIBUTE ,'VA_ENABLED_LIST2');
    So I except the first block to get a white background again and the second block to get it's yellow background. However only the selected row in the tlist changes it's background color. (this in both blocks)
    I do not understand why the first time (at form startup) the background color is set for the whole item and the second time only for the selected record.
    I tried to use the property background_color but the colors are different from what I see in my color palette in that case. If I use the same color codes I also use in my visual_attributes the final result on the screen is different...
    Secondly the result is the same, at form startup the item's background is set, as from the second call only the current salected record in the tlist will change from background color.
    Forms are running C/S and are developed in Forms 6i. One way to get the result I need is by navigating back & forward to my application in Windows using Alt-Tab. At that moment the correct background colors are suddenly applied... Is there a way to force a similar sort of screen refresh ?
    Thanks for any hints, workarounds, tips or solutions !
    Kris
    Message was edited by:
    [email protected]

    Hi,
    I still don't have a clue how I could solve this one.
    It works leaving the block (so making it white again) but it does not work entering the block. (giving the list item another background color). The problem is not about the whithe color. If I do my tests with other colors (red-yellow) the problem remains.
    Best Regards,
    Kris

  • A quick way to set different color for certain items in JList?

    is there a quick way of setting different color for certain items in JList?

    Either use HTML strings as the values in your JList (quickest, but may not be the most convenient, especially if your model isn't just text), or create your own ListCellRenderer (e.g. extend DefaultListCellRenderer).
    There is no such thing as "list.setItemForeground(int index, Color c)". You'll have to use one of the methods above.

  • Displaying labels with  a different color in a form

    hello all,
    how to display labels in a form in different color?
    the question may be simple to many. as i am new to apex.

    Hello,
    Please check if the following can help you - App. Express -- Change font size in the item label. .
    Regards,
    Arie.

  • I have imported three gmail accounts into mac's mail client.  can i do anything to distinguish between them?  e.g., can i have each one appear in the mail list in a different color?  I don't want to do it by sender, but by email account.

    i have imported three gmail accounts into mac's mail client.  can i do anything to distinguish between them?  e.g., can i have each one appear in the mail list in a different color?  I don't want to do it by sender, but by email account.

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • Displaying different colors for cells/columns in Interactive Report

    Hi,
    I have a requirement to display just the 'cells' in the Interactive Report columns with different colors.
    There are 3 columns in the Interactive report.
    The color coding for all the 3 different columns should be such that:
    <40% - red color
    40-70-orange
    greater than 70%-green
    I tried the highlight option in the report and saved the report as default, but still the color condition ended up getting displayed to the end user. I dont want this.
    Can someone suggest a better way to handle this requirement?

    Perhaps explore similar solutions described here
    Background Colour of Report Cell Issues.
    Scott

  • Lllustrator and Photoshop display different colors despite synchronized CS5 Color Settings

    I've got some students who noticed that Illustrator and Photoshop display completely different colors on screen for eactly the same RGB values despite Color Settings being synchronized.
    Settings are:
    CSF: North American Web/Internet  (RGB color space = sRGB),
    Proof Set-up: Internet Standard sRGB
    Proof Colors turned On.
    RGB Values:  R=0  G= 162  B=211
    But colors displayed are not close between Ai and Ps.
    With Proof Colors turned off, both apps display the colors reasonably closely.
    I teach Photoshop and Print Color Management, so I admit my knowledge of how Illustrator handles screen proofing and proof set-ups for screen destinations is not comprehensive.
    I expect I'm missing some difference in the two apps' behaviour.
    Any info from anyone experienced in this corner of the field appreciated.
    Cheers
    Tom

    I've got some students who noticed that Illustrator and Photoshop display completely different colors on screen for eactly the same RGB values despite Color Settings being synchronized.
    Settings are:
    CSF: North American Web/Internet  (RGB color space = sRGB),
    Proof Set-up: Internet Standard sRGB
    Proof Colors turned On.
    RGB Values:  R=0  G= 162  B=211
    But colors displayed are not close between Ai and Ps.
    With Proof Colors turned off, both apps display the colors reasonably closely.
    I teach Photoshop and Print Color Management, so I admit my knowledge of how Illustrator handles screen proofing and proof set-ups for screen destinations is not comprehensive.
    I expect I'm missing some difference in the two apps' behaviour.
    Any info from anyone experienced in this corner of the field appreciated.
    Cheers
    Tom

  • Can I display links I have visited in a different typeface or different color

    When search results are displayed, is it possible to show links I have already visited in a different color or typeface to the ones I have not yet looked at?

    Contact iTunes Store customer service. 
     

Maybe you are looking for