Background color of disabled text field?

In my JClient app, the background color of text fields changes when they are disabled (which is good). But I can't seem to figure out where the color it's background is being set to comes from...not from the text field. Maybe somewhere in the look-and-feel? Anyone have any ideas?

Found the fix for my problem (again, as usual):
The problem is with the windowsXP look-and-feel. There is a patch, see winlaf:
https://winlaf.dev.java.net/release_0.3.html

Similar Messages

  • How to set the Background Color of a Text Field in a Tabular Report.

    Hello,
    I tried to set the Background Color of a Text Field in a Tabular Report.
    But I was not able to change this colur.
    In the report attributes --> column attributes
    I tried already:
    1. Column Formating -- >CSS Style (bgcolor: red)
    2. Tabular Form Element --> Element Attributes (bgcolor: red)
    but nothing worked.
    Can anybody help me?
    I Use Oracle Apex 2.2.1 on 10gR2
    thank you in advance.
    Oliver

    in "Report Attributes" select the column to move to the "Column Attributes" page. In the "Element Attributes" field under the "Tabular Form Element" region enter
    style="background-color:red;"
    I will also check if there is a way to do this via the template and post here again
    edit:
    in your template definition, above the template, enter the following:
    < STYLE TYPE="text/css" >
    .class INPUT {background-color:red;}
    < /STYLE >
    (remove the spaces after the < and before the >)
    change "class" to the class that the template is calling
    (I'm using theme 9, the table has: class="t9GCCReportsStyle1" so I would enter t9GCCReportsStyle1)
    A side-effect of using this second version is that ALL input types will have a red background color--checkboxes, input boxes, etc.
    Message was edited by:
    TheJosh

  • Set background color for conditional text fields by click of button.

    Hi,
    I am new to apex, the scenario is when i click on a button i.e. Save, it shoulld compare 2 fields P1 and P2 which are text fields.
    If the value of P1 is greaterthan P2 then the whole P1 text field background color should change to "Red" otherwise in any other condition the P1 field should be "Green" color.
    In which section the color function should be called on the Save button?
    On the page in the HTML Header section i have added the below code but the background color is not getting set.
    <script type="text/javascript">
    function fncChangeColor()
    var num1 = $v('P1');
    var num2 = $v('P2');
    if ( num1 > num2 ) {
    document.getElementById("P1").style.background = "RED";
    else {
    document.getElementById("P1").style.background = "GREEN";
    </script>
    Can any one help me in moving ahead with this scenario with a detailed information.
    Thanks,
    Priyanka.

    Hi,
    Call function on button URL target
    javascript:fncChangeColor()If button should submit page, then I think you do not need color field to green.
    Just change to run submit function.
    <script type="text/javascript">
    function fncChangeColor(){
    var num1 = $v('P1');
    var num2 = $v('P2');
    if ( num1 > num2 ) {
      $x("P1").style.background = "RED";
      return false;
    apex.submit({request:"YOUR_REQUEST"});
    </script>Regards,
    Jari

  • Where is Background Color Property for Text Field Prompt in Developer 6i

    I update all my works from developer 2000 to developer 6i (forms 6.0). All my screens are now irregular becoz, the text field prompt background color property is not present in forms 6i. Can you help me how to solve this prob.
    (one more solution i found is, can do the prompt as separate canvas object, but is there any way to set the background color for prompt entered in text field.)
    Thank you
    Raj

    Hi
    I think there is a bug in the first release of Forms 6i,
    where the prompts got the same backgroung color of the
    related item (in fact, it must have no back color,
    because it has no "background color" property).
    Try applying a patch over it.
    I update all my works from developer 2000 to developer 6i (forms 6.0). All my screens are now irregular becoz, the text field prompt background color property is not present in forms 6i. Can you help me how to solve this prob.
    (one more solution i found is, can do the prompt as separate canvas object, but is there any way to set the background color for prompt entered in text field.)
    Thank you
    Raj

  • How can I change background color for a text field

    Hi I tried this
    style="BACKGROUND-COLOR:#00FFFF"
    working fine in IE
    but not working in Netscape.. any other way to set the background color?

    Netscape 4.x does not support this feature. Only Netscape 6.x does.

  • Text Color in disabled text field

    Hi,
    In our application, The default rendered text in disabled fields is not visible properly. In order to improve the visibility we applied different color using content style for those fields.
    We did see the change in the fields after applying content-style. But it is a painful job to apply the content-style for each input field.
    Is there a way to configure default text color in ADF which is applicable for all the disabled fields in the application?
    We also tried the option of setting the color using css in following manner:
    af|inputText::content{color:#333333;}
    But this didn't have any impact on the text color.
    Please let us know if we can achieve this through a single point fix in the code.
    Thanks
    Ravi

    Hi Dimitar,
    The :rtl is a special case, as is :ltr and :alias. These are always placed at the end and are purely for the engine, they do not generate any style class on the DOM whereas other peudo classes generate a p_AF<state> class on the MAIN DOM element, which is why you must place the class on them. For example:
    af|inputText:disabled::content becomes
    In the CSS: af_inputText.p_AFDisabled af_inputText_content
    In the HTML <span class="af_inputText p_AFDisabled"><input class="af_inputText_content">
    Regards,
    ~ Simon

  • How do I add color to a text field?

    I'm setting up a simple Flash contact form that sends a mail message using PHP. I'm using the Text Input and Text Field components and would love to style the background tint of the text fields so as to not be white. I want to be able to enter my own hexidecimal number. This seems like it should be easy, like a button or property or something, but I can't figure it out. Please help!
    Using Flash CS4 on a Mac, in an ActionScript 2.0 file. (Can make a 3.0 file if necessary).

    I'm not sure how to create an input textfield other than dragging out a component. What's the difference?
    Also, this is a difficult one to search for, since all of my attempts have given me answers on how to style the text in the field, but not the background color of the field.
    Any good tutorials on how to create custom skins?

  • Change the font color of a text field in a table by key-combination

    I want to change the font color of a text field in a table (single cell only) on pressing a key combination. Does anybody know how to do this.
    I have a lot of data in a table. During an evaluation of the data in a meeting I want to change the color of the text depending on the result of the meeting. (for example: High risk = CTRL+R makes the text red).
    I know how to change the color using a button, but I do not want to add a button after each cell. For this reason I would like to do it on a key combination that alway refers to the active cell.
    Many thanks for your help in advance.
    Marcel

    Hi,
    I don't think you can use the ctrl key like that as those shortcuts will be intercepted by Reader (ctrl-R toggles the ruler display on / off).  You also might have trouble updating the color while you still have focus on it.  You can use the shift key in a similar way, so if you only have lower case characters in the text fields then you can do something like;
    if (xfa.event.shift)
        switch (xfa.event.change)
            case "R":
                this.fontColor = "255,0,0";
                break;
            case "O":
                this.fontColor = "255,102,0";
                break;
            case "G":
                this.fontColor = "0,255,0";
                break;
        xfa.event.change = ""; // ignore character
    If you need uppercase characters maybe you can have one button to set "review mode" and test that on the if (xfa.event.shift) line.  But again it wont take effect until you have tabbed out of the field.
    Regards
    Bruce

  • Change font color in the Text Field of a Popup Key LOV

    Hello,
    I have a question concerning Popup Key LOV.
    I want to change the font color in the Text Field of the Popup Key LOV Item.
    I searched the forum but I cannot find an answer about this! Although I searched the CSS and the Popup Key LOV Template, but I do not know where to modify the font color.
    Has anyone an idea how to solve that problem?
    Regards,
    Tim

    Hey,
    thank for your reply!
    I use style="color:#000000;" and it work in Firefox, but not in Internet Explorer 7.0!
    And that is not the first time, that there are differences in displaying those tags in the HTML Form Element Attributes and in css files, etc.
    Does anybody know I to solve that?
    Thank you,
    Tim

  • How to change the color of the text field of form

    Hi ,
    Is there any way to change the color of the text field of the form........
    Thnx in advance .......
    Cheers,
    Eman

    Hi Bob. I'm new to these forums and I'm not sure of protocol and exactly how this is supposed to work, so If I'm doing this wrong then please excuse me and let me know.
    I liked you solution on 'How to change the color of an Item on a form' using <blink>.
    I'm new to this application and coding as well so its kind of foreign to me.
    Working on a Report Page,
    I would like to have item, :P1_JOB_NO blink when the difference between sysdate and :P1_DATE_DUE < 7 days.
    I can identify the job_no which should blink by using the sql statement:
    SQL> select job_no from oax_projects07 where
    2 (sysdate - date_due < 7) and
    3 emp_name = 'GARY PILKENTON';
    JOB_NO
    20060627 050
    But I dont know the proper syntax to make it blink,
    or when to plug the syntax into.
    ie, is it a process, a validation, etc.
    Do you have any advice for me?

  • How to set Disabled Text field's Background color

    We have an Applet application which we are running with Java Plug-in 1.5.0_11. We have Grey back ground for all the pages. When the text fields are in editable mode the text color is in black. When they are in non editable mode the text color changes to opaque green (with grey background page color) which is hard to read.
    The same application with Java Plug-in 1.4.2_13 did not had this color problem. When text fields were disabled they appeared as dark grey which was easy to read.
    We are using
    import javax.swing.JTextField;
    Is it a bug in newer Java Plug-in? Is there a work around for this?
    Thanks for any help and suggestions

    Solved this myself by writing a programmatic skin and set it to LinkButton's disabledSkin.

  • When converting word doc to pdf, my images with text only show the background color of the text box.

    I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just white - the background color.  If I take the background color out of the text box, the text converts over fine but I need the background color.
    I have tried many things here on the print settings, standard, high quality print, unchecking the compression on the images.  Any help?

    Thank you for your posting. These forums are specific to the
    Acrobat.com website and it's set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Is there a way to allow the end user to change the font color in a text field?

    I didn't know LiveCycle existed yesterday so I have been using the Google a bunch.
    I am building a request form and was asked if there was a way to change the color of font within a text field. (EXAMPLE: Original content is black. Notes are red)
    I have 2 thoughts on this, one is to type it out and highlight then click a button to turn it red. The other way I am more partial to. Have a radial button that when off, types black. When on, types red. What is the best way to do this or is it even possible?

    Figured it out. Change "plain text" to "rich text" and have user press ctr+e. Seems odd to me but it works.

  • Changing color in a text field?

    I've created a scrolling text field and it works fine but...
    ...how can I have certain lines of text be a different color,
    such as headings? When I change the color of one line, all the
    text's color changes. Thanx.

    I probably should've mentioned that I'm using dynamic
    text.

  • HTMLD_ITEM.DATE_POPUP  - Disabling text field AND Datepicker.

    Hi all,
    Need help with the following.
    I am using APEX 3.2.100.12 (this is in production and won't be upgraded soon).
    I have a report, that creates dynamically date_popups.
    My query goes like this:
    select
    case
    when trunc(ddc_delivery_date) <= trunc(sysdate) then HTMLDB_ITEM.HIDDEN(3,PTD_PA_MONTH_ID) || HTMLDB_ITEM.HIDDEN(4, to_char(SYSDATE, 'DD-MON-RRRR')) || HTMLDB_ITEM.DATE_POPUP(2,ptd_pa_month_id,'','dd-MON-yyyy', 10, 11, 'DISABLED')
    else HTMLDB_ITEM.HIDDEN(3,PTD_PA_MONTH_ID) || HTMLDB_ITEM.HIDDEN(4, to_char(SYSDATE, 'DD-MON-RRRR')) || HTMLDB_ITEM.DATE_POPUP(2,ptd_pa_month_id,'','dd-MON-yyyy', 10, 11, 'onBlur="valiDate(' || rownum || ');"onChange="setFocusItself(' || rownum ||');"')
    end as "Example"
    from Table;
    Let's assume all those names there work as it is.
    The first "when trunc... " should show the date_popup item, but should be shown disabled; which totally happens, but only on the text field; I also need the datepicker to be void or something, and no popup be allowed to show up, something like: "('IP_CLOSED_DATE').parentNode.nextSibling.firstChild.href="javascript:void(0)", which can be used to not allow a popup be displayed.
    The thing is, I've tried to add another parameter (as I've seen it is possible), including words like disabled, void, 0, etc... and none of them work. So I would like to know if anyone has encountered the same issue and has been able to solve it.
    What I need, is not only the text to be disabled but also the popup.
    Thanks a lot!!
    Jorgelina

    Just noticed that you are on apex 3.2 and that JS code relies on JQuery(builtin to Apex 4.0)
    So we ll try another approach and this does not use any JS
    From your report query, I can see that you column has to be read only when <u>trunc(ddc_delivery_date) &lt;= trunc(sysdate)</u>. In this case you want those row's column to be a readonly text-field. So <b>we use a different API in those cases, i.e APEX_ITEM.TEXT instead of APEX_ITEM.DATE_POPUP</b>
    select
        case
        when trunc(ddc_delivery_date) <= trunc(sysdate) then
            HTMLDB_ITEM.HIDDEN(3,PTD_PA_MONTH_ID) || HTMLDB_ITEM.HIDDEN(4, to_char(SYSDATE, 'DD-MON-RRRR')) || HTMLDB_ITEM.TEXT(2, TO_CHAR(<date column>,'dd-MON-yyyy', 10, 11 ,'read_only="read_only"')
        else
           HTMLDB_ITEM.HIDDEN(3,PTD_PA_MONTH_ID) || HTMLDB_ITEM.HIDDEN(4, to_char(SYSDATE, 'DD-MON-RRRR')) || HTMLDB_ITEM.DATE_POPUP(2,ptd_pa_month_id,'','dd-MON-yyyy', 10, 11, 'onBlur="valiDate(' || rownum || ');"onChange="setFocusItself(' || rownum ||');"')
        end as "Example"
    from <table>;
    Note: Change <date column> to the name of the date column whose value has to be shown
    For readonly date row columns, you would see a text field alone, without a date picker

Maybe you are looking for

  • My iPads icloud,iTunes account for apps n games insists my phone

    AAfter changing  Icloud password, my I tunes apps n games account ,will not let me use it. Shows that (in Red) my phone numbers incorrect. It is not. It won't let me enter phone number completely. My Icloud account does show everything's ok,when I lo

  • Problem in BAPI_HU_CREATE

    Dear All, Im using BAPI_HU_CREATE for creating the handling unit, but when i run the program, i m getting a message HU cannot be created and the HU is not getting created,pls find the below coding im using in my program and tell me what could be wron

  • Suggestions for new instruments on GarageBand for iPad

    Two ideas my friends and I have been talking about is for the next update for GarageBand should definitely include Smart Brass layed out the same way as Smart Strings with different types of ensembles for jazz, concert, etc. Then the same deal for wo

  • I had IDM 7.3.10 Kindly let me know which version supports this IDM

    Hi, This is Naved I only use firefox and i have IDM 7.3.10 before it was working with firefox, i dont remember which version, by chance i updated firefox and the latest dosnt support IDM kindly let me know which firefox support this version of IDM .

  • GuiXT component InputAssistant

    Hello, evreone! I need you advice to using GuiXT with Citrix deploiments. I create "Z" transaction with variant and run GuiXT script from this transaction (feel fields on screen). When i run script with local mode (GuiXT install on my Desctop) script