Select List border color ?

Hi,
Is there a way to change the Select List border color (Drop down list) ? I tried to add some style in the HTML element attribute without success.
Thank you.

See
http://p2p.wrox.com/topic.asp?TOPIC_ID=21626
Doesnt seem like you can change either the border color or the style of the "arrow" on the select list
You can style the individual options, see an example at
http://htmldb.oracle.com/pls/otn/f?p=24317:104
Hope this helps.

Similar Messages

  • Tile List Border color Remove

    hi all,
                   I want to Remove The background Color and Border color of a tile list componet in flash,please help me

    You can try manually editing the object in the library such that you set the colors for the various skins to be transparent.

  • JComboBox drop down list border color

    When we click arrow button of JComboBox we get drop down list with black colored border.
    But I want to set border of dropdown list to grey color.
    How to do that?

    The required border size and color is mentioned in javax.swing.plaf.basic.BasicComboPopup instantiated in javax.swing.plaf.basic.BasicComboBoxUI; and unfortunately that is not directly accessible.
    One of the approach would be:
    1. subclass BasicComboPopup - here you'll simply set the derived class's border to desired one.
    2. subclass BasicComboBoxUI - here you'll override createPopup (to return derived BasicComboPopup object) and createUI (to return derived BasicComboBoxUI object)
    3. make a call to target JComboBox's setUI to set new instance of derived BasicComboBoxUI object.
    Caution:
    1. This approach will be implementation specific, for more generalized result try creating your own look and feel.
    2. May need to tweek some more code to get final output.

  • Select list based on color

    Hi there
    I need to create a static select list in a tabular form with the following values: Red, Amber, Green.
    However, instead of the color names, the user wants to see the actual colors in the the select list (changing background color for each option), so it is easy to spot the problematic ones (Red). Is this possible to be done using Apex 3?
    Thanks
    Luis

    Luis et al.
    Thanks for posting code to this forum, it has been a great help. I must admit that I know nothing about javascript (close enough to nothing) but through the great posts here I have been able to get the first part working and my list values change color when the page loads. However, when I use the select list I don't know how to implement the code Luis posted to change the background color in the select lists. Any further direction would be a great help.
    I have the example page here:
    http://apex.oracle.com/pls/otn/f?p=37008:18
    and this is the code I used so far in the HTML HEADER on the page:
    <script type="text/javascript">
    function setAll()
    obj=document.forms[0];
    len=obj.elements.length;
    for (i=0;i<len;i++){
    if (obj.elements.name=="f04")
    setColor(obj.elements[i]); }
    function setColor(sel)
    var obj=sel;
    if (obj.value=='GREEN')
    obj.style.backgroundColor= "green";
    if (obj.value=='YELLOW')
    obj.style.backgroundColor= "yellow";
    if (obj.value=='RED')
    obj.style.backgroundColor= "red";
    if (obj.value=='WHITE')
    obj.style.backgroundColor= "white";
    </script>
    Thanks again,
    Dave

  • Color entries in select list

    Say I have a dataset like (status_code,status_desc,color). A select list uses the code & desc but I would like to use the color of each status to be used as the background color for that entry. Patrick shows how to do this for a simple case right using the Element properties but how would this be done in my example?
    I was thinking of using apex_util.json_from_sql to get the status_code & color in a Before Footer process and use Javascript to set the colors. But I couldn't figure out how to use the JSON as an associative array i.e. row[status_code] = color.
    Comments? Thanks

    Hello Vikas,
    >> But when the page is submitted, Complete will be stored in session state and this is not one of the values returned by the LOV query …
    Yes, sorry about that, I forgot I’m also using a Post Calculation Computation on the item, which calls a function that builds a matching value to the LOV. Something like:
    select_list_color(:P1_SELECT);The body of this function is, of course, depends on the way/source to derive the status color. In my case, it looks like:
    function "SELECT_LIST_COLOR" (
      p_color_name in VARCHAR2
    ) return VARCHAR2
    is
      l_color_code  varchar2(20) := '';
    BEGIN
      if p_color_name is not null then
        select code into l_color_code
        from mis_color_code
        where color = p_color_name;
      end if;
      return p_color_name || ':' || l_color_code;
    END;
    >> … so the LOV item needs to have "Show Extra Values" turned on
    That’s not good enough as the Extra Value doesn’t include color code so the select list entry will not be colored (which defeat the original purpose).
    >> Or maybe you have an after-submit computation to join the Complete and Green again so page rendering continues to work fine.
    That’s also not good enough. First, I don’t want to impair the integrity/consistency of the session state. Secondly, if, for example, you are using ARF to populate the select list item, you’ll have the same problem, so after-submit computation is not enough.
    The best solution I could think of is to use the Post Calculation Computation. So far it’s working very good.
    Your solution, using AJAX, is also valid (and more importantly, it seems to work for you) however, in this specific scenario, where all the information is actually available to you pre-rendering the page, another trip to the database seems too costly (especially in my case, where some of the communication is over the Internet, using very crowded lines).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More

  • Question For Vikas: Select List Colors

    Vikas,
    I've seen somewhere
    you posted a site:
    http://htmldb.oracle.com/pls/otn/f?p=24317:104
    Can you still do that with an htmldb_item.select_list?
    If yes how can you do that because I've been struggling
    for weeks to find this answer and all of a sudden now
    I've seen your example
    Thank you

    My example is a variant of the master's example (Carl Backstrom) of a similar nature.
    Basically, the styling is done with a Javascript in the region footer, so you can apply it to anything. The code is
    var pThis = document.getElementById('P104_SELECT');
    var pThose = pThis.getElementsByTagName('OPTION');
    for(var j=0;j < pThose.length;j++){
        pThose[j].style.background = pThose[j].value;
    }Basically, the select list option value itself is the color name.
    Things get a little trickier in a tabular form because you have many select lists, but I think the basic concept should hold good. The above code just grabs a specific select list and loops over its options. You would need to wrap it in another loop to grab all the select lists in your tabular form and do the same thing.
    Hope this helps.

  • Create a black border for select list item

    Need help on creating border on a select list item.
    I tried using style ="border:1px solid black"; in HTML Form Element Attribute , but its not working for select list item, though it works on text field item.
    Nilesh

    Browsers and versions? (Always supply this information when discussing presentation and UI problem.)
    If it's IE, then this is not possible (at least up until IE7 which is all I can test on at present).
    (As HTML, CSS and JavaScript exist outside of APEX, you should search more widely than just OTN when looking for information on these topics.)

  • Border color when selecting field

    Post Author: RicoDeJong
    CA Forum: General
    Hi,
    When selecting a field in CR11 it doesn't come with a changed border color.
    On a different PC it does. Don't know where this configuration parameter is set?
    Anyone?

    Thanks Bibhu;
    The suggestion did not work that well but it did give me an idea. I used the code below in the "exit" event and I was able to change the the border color.
    switch (this.rawValue)
    case "1":
        this.font.fill.color.value = "0,0,0";
        this.border.fill.color.value= "255,255,255";
    Thanks Again Bibhu

  • On value selected in dropdown, set border and border color to subform

    Ok, I'm busy creating a form which has a dropdown field. There are five values inside the dropdown. I also have four subforms which contain tables and fields for each option in the dropdown except the first one. Now I want to set the border and border colour of the subform when the right value is chosen.
    In the exit part I created the code as follows:
    if (this.rawValue == "5"){
         this.resolveNode("TextfieldName").presence = "visible"; //This sets a text to visible...works like a charm
         Optie1.ui.oneOfChild.border.color.value = "255,153,0"; //After an example I found from Niall
         Optie1.ui.oneOfChild.border.color.thickness = "0.0200in";
    I changed this into Optie1, that's the name of the subForm. Somehow it doesn't apply it on the subform. I know I'm doing something wrong, but can't quite find what I want on the forums. Anyone any idea on this?

    Okay, managed to solve this myself by playing around a bit with the code.
    It should be:
    Optie1.border.edge.color.value and Optie1.border.edge.thickness.

  • Dynamic Action based on Interactive Report Select List Value

    I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
    select APEX_ITEM.SELECT_LIST(
    p_idx => 3,
    --p_value         =>   deptno,
    p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
    --p_attributes    =>   'style="color:red;"',
    p_show_null => 'YES',
    p_null_value => NULL,
    p_null_text => '--Select--',
    --p_item_id       =>   'f03_#ROWNUM#',
    p_item_id => 'P6_IR_SELECT_LIST',
    p_item_label => 'Label for f03_#ROWNUM#',
    p_show_extra => 'YES') "Actions"
    from dual;
    When building the Dynamic Action, I chose the following values from the Advanced wizard
    Event: Select
    Selection Type: DOM Object
    DOM Object: P6_IR_SELECT_LIST
    Condition: Equal to
    Value: "Delete"
    True Action: Execute Javascript Code: Alert('Here');
    Doesn't seem to be firing...can anyone help?
    Thanks in advance,
    John

    Hi,
    I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
    Try using a javascript expression instead, like this:
    $v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
    Luis
    Edited by: Luis Cabral on Feb 29, 2012 4:45 PM

  • Unable to create a dynamic action ALERT to be generated on a Select List when particular value is selected.

    Hi everyone, this should be so easy, yet I am stuck.
    I have a form region with an item P110_VESSEL_ID.   This item is a select list.   It is based on the query: 
    select distinct v.vessel_name, v.vessel_id
    from vessels vessels v, frequent_fishermen ff
    where ff.dea_permit_id = :G_PERMIT_ID and
    ff:vessel_id = v.vessel_id
    UNION
    select v.vessel_name, v.vessel_id
    from apex_collections a, vessels v
    where collection_name = 'SUPVES_COLLECTION' and
    a.c002 = v.vessel_id
    If the user decides against the values in the select list query, they may opt to SELECT ALL VALUES.  This SELECT ALL VALUES is a POST ELEMENT TEXT on P110_VESSEL_ID.
    <a id="popVessels" href="#"><font color=blue>Select from ALL Vessels</a>
    This all works fine.
    The issue is that when the user selects a vessel name = 'UNKNOWN' and it's corresponding vessel_id value, I would like an ALERT to appear indicating that they should double check that the vessel is UNKNOWN and not that the is no vessel. 
    I created a dynamic action
    event= change
    select type = item
    item = P110_VESSEL_ID
    True ACtion #1 is the ALERT.
    I currently have no other logic, but cannot even get this to work.  Any thoughts.   I have also tried the SELECT TYPE = jQuery Selector = select[name='P110_VESSEL_ID'] but that does not work either (though I am not certain if the value should be P110_VESSEL_ID or the static name of VESSEL_ID).
    Any help is appreciated.
    ps.  the page is not submitted when the vessel is changed.  There is other data that needs to be entered both in this region and others and many validations run when submit, so the submit would not be an option.
    thanks again,
    Karen

    KarenH,
    KarenH wrote:
    I created a dynamic action
    event= change
    select type = item
    item = P110_VESSEL_ID
    True ACtion #1 is the ALERT.
    This should work.  Sometimes I've see where there is other javascript on the page that may have some errors and is causing the dynamic action code to not be executed.  Use your favorite browser script console to try and determine if this may be the case.
    --Jeff
    P.S. Your jQuery selector can be: select#P110_VESSEL_ID

  • WorkOrderList TileView Row & Selected Row Background Color Change

    Hi,
         can we change the background color of WorkorderList TileView Row & Selected Row Background color ?. Actually i am trying to change the color of both in WorkOrderList but it not reflecting any color on my Agentry client. I used a style on Tile List View Data/Style.
    but these applied style on Rows & Selected Rows are not working in Agentry client.
    if any other alternate solution exist in Agentry, please guide me.
    i am using following...
      sap mobile platform-2.3.3
    Thanks & Regard
    Manish Kumar
    Tags edited by: Michael Appleby

    Hi Jason
          Yes using Image we can achieve that goal but i want to use a background color instead of Image background. Finally I used a background color on label and set the that label field on Screen. And It's showing the background color on WorkOrderList Row & Selected Row that what i wanted. But on both Row & Selected TileView Screen showing white outline that i don't want and also i could not remove the default Selected Blue Background Color.
         Please guide me how to remove white outline and default Blue Selected Background color.
    Thanks & Regard
    Manish Kumar

  • I have never used my mac for desktop publishing before and am having some problems.  This sounds really dumb, but I can't figure out how to put a border around a text box.  Also, how do you edit the border, i.e. border color, thickness, etc. Help!

    I have never used my mac for desktop publishing before and am running into some real problems.  How do you put a border around a text box?  Can you edit the border - color, thickness, etc.?  Help!

    I think the best solution is to read Pages documentation, go to Help and you have a long list of options. Pages is capable of quite sophisticated things, some features are above Nisus or Mellel, so it is not so simple to summarize things in a few lines.

  • How to submit a multiple-selection list box in an Infopath Sharepoint form as multiple entries on a Sharepoint list?

    I would like to be able to submit an Infopath form with a multiple selection list box in Sharepoint as multiple entries on a Sharepoint list.
    For example, a user has to complete the following fields:
    First Name:
    Last Name:
    Favorite Color (can select more than one):
    [] Blue
    [] Red
    [] Yellow
    [] Green
    If the user picks blue AND red and submits the form, the Sharepoint list would feature TWO entries, both with their first and last names, but with different colors in the "Favorite Color" column.
    Please let me know if there is a way to do this. Any guidance would be helpful!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Make List background color transparent

    hello all,
    i want to make my list background color transparent.
    this is my code:-
    import mx.styles.CSSStyleDeclaration;
    _global.styles.List = new CSSStyleDeclaration();
    _global.styles.List.setStyle("backgroundColor",
    "transparent")
    it is working fine but after using this code listbox
    selection listener stop working.Is there any other way to make list
    background transparent?
    thanks in advance

    I was having the same problem with a Tree Component. Just
    yesterday I found some code to let me do this. Where
    tabs.menuContent is the path to my Tree, or your List
    var mc = tabs.menuContent;
    _global.styles.ScrollSelectList.backgroundColor = undefined;
    mx.controls.listclasses.SelectableRow.prototype.drawRowFill
    = function(mc:MovieClip, newClr:Number):Void {
    mc.clear();
    if (newClr == undefined) {
    mc.beginFill(0xABCDEF, 0);
    } else {
    mc.beginFill(newClr);
    mc.drawRect(1, 0, this.__width, this.__height);
    mc.endFill();
    mc._width = this.__width;
    mc._height = this.__height;
    tabs.menuContent.border_mc._alpha = 0;

Maybe you are looking for

  • Help needed in HTTP Tunneling - urgent

    Hi all, I urgently need a working code sample of a client which sends requests to a server that redirects the request to an RMI server via RMI servlet. Does any of you familiar of such a code sample? Thanks

  • What is jetpack file? and can i get rid of it?

    what is jetpack file in my profiles? can i get rid of it? could it be the reason i have problem with java windows at URL below? While playing bridge on Pogo, even in safe mode, the java window freezes or kicks me out, or pogo server loses my sign-in

  • Opening a document with its default application on the client

    In 6i I use Win_API_Shell.StartFile("path\file", WIN_API.SW_SHOWNORMAL, TRUE); to open a document with it's default windows application. How is this done in 10g? Do I use webutil? and could someone supply me an example. Again, the document would be o

  • Indesign crashes when placing a image

    When I try to place a image in Indesign CS6 or CC and even in Illustrator the program freezes with spinning wheel and i have to force quit program!!! The dialouge box does not even come up to enable me to pick a file!! Have spoken to Adobe and they a

  • Skype premium active but unable to call

    Hey Skype -  I'd love it if you all had a number or email address to contact for customer support. Digging through multiple levels of links to find a place to post a question is frustrating. I purchased skype premium and it reads as active on my acco