Item Background Color changes when placed in production (Forms 10g)

Hello All,
I have searched the forum on this topic, but have not been successful in finding a topic/solution for multi-line items that need to render a different color than the rest.
I have used set_item_instance_property (and set_item_property) as well as using a VA to resolve this issue to no avail.
When I view the form in the browser - initially in query-mode, I see the color that I have set for the item. Once the query is fetched and I am in non-query mode (display), the items background color is replaced to the standard color (off yellow) for non-editable fields.
I have taken all of the subclasses off, used the item property from the pallette as well as manually programmed within a trigger and cannot get this item to stay the color that I have set.
Can anyone help me get this working?

Are you using the 0 to 100 rgb color assignments you see in the Forms Builder color palette? If so, that is your problem. At run time, you have to convert the color numbers to 0 to 255 numbers. Just multiply each of the three parts by 2.55
Or maybe there is come code running elsewhere in your form that is setting the color after your code is run.
Search your form for background_color.

Similar Messages

  • Cell/Background color changes when copying to other Excel 2010 document

    When you copy and paste report cells (e.g. CO report outputted in Office integration, MS Excel) to a new Excel file, the background color changed dramatically (to bright red).
    SAP Theme:  SAP Signature Theme
    Excel 2010
    We tried paste option > match destination formatting but does not help.
    Anyone has similiar problems?  Appreciate any help.

    dear friend,
    you would do:
    1. search SAP Notes;
    2. check out the updates/patches for your MS Office;
    3. replicate it on another computer/another sap user (make sure it is a local issue)
    good luck!

  • Why does JButton background color change when  clicking ?

    Hello,
    I have defined :
    JButton mybutton = new JButton(Icon xxx) ;
    with no associated text and I set both foreground and background colors to black, and an empty border.
    This is because the background color of the container which contents this button is also black and I want to see only the button icon.
    When I click on the icon , the button background color becomes grey. How can I change this to make it remains black ?
    Thanks a lot.
    Gege

    Well, the color changes because that is how the look and feel is defined,
    presumably to give better feedback to the user that she has clicked the
    button.
    If you don't want this, you could try using a different L&F which doesn't do this.
    Alternatively, If you've only got the one button, you could just do
        UIManager.put( "Button.select", Color.BLACK );If you have multiple buttons, and you want the other buttons to behave
    normally, you can extend the one button and have it change the color
    while it is pressed, e.g.,
    import java.awt.*;
    import java.io.IOException;
    import java.net.URL;
    import javax.swing.*;
    public class ButtonSelect extends JFrame {
         public ButtonSelect() throws IOException {
              super();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panel = new JPanel();
              panel.add( new JButton( "Normal" ) );
              Image img = Toolkit.getDefaultToolkit().getImage( new URL("http://www.google.com/intl/en/images/logo.gif" ) );
              ImageIcon ii = new ImageIcon( img );
              JButton b = new JButton( ii ) {
                   static final private String KEY = "Button.select";
                   public void paint( Graphics g ) {
                        Color save = null;
                        if ( getModel().isArmed() && getModel().isPressed() ) {
                             save = UIManager.getColor( KEY );
                             UIManager.put( KEY, Color.WHITE );
                        super.paint( g );
                        if ( save != null )
                             UIManager.put( KEY, save );
              b.setForeground( Color.WHITE );
              b.setBackground( Color.WHITE );
              b.setFocusPainted( false );
              panel.add( b );
              getContentPane().add( panel );
              pack();
              setVisible( true );
         public static void main( String[] a ) throws IOException {
              new ButtonSelect();
    }

  • SWF background color changes when uploaded to server

    I built my Flash all pretty, based upon a black background.
    When ran on the local copy, the black shows up as black & the
    Flash is like it should be. However, as soon as I upload it to the
    server and run it from there, the Flash background changes to
    white, which as you can imagine, royally screws up the visuals. Any
    clue as to why it would do this?! I can't think of any reason why
    it should. The server is in-house and will only be used for an
    Intranet page, so any possible corruption over the web should be
    negated. Help!!

    I'd like to post a link, but like I said, it's only internal.
    When I look at the HTML, it's set to black (background-color:
    #000000). Also, when I load it, the page itself is black, but the
    background of the Flash *only* has turned white. I can load the
    exact same page on my local drive and it comes up black. I've got
    publish settings to Flash 8 (my version) and AS 2.0. I checked that
    first because I've published lower in the past and had
    issues.

  • Numeric Control - Text and Background Color changes when operating inc/dec arrows

    Hi,
    I'm developing an application that has a panel with black background and green or red numbers. I've added numeric controls and configured the text color and text background color attributes accordinglingy. I set the numeric control to hot or validate  control mode and show the inc/dec arrows, since I want to be able to incr/decr the numbers.
    The problem is that when I run the application and I hit the inc/dec arrows, then the colors inside the numeric control frame become inverted: the black background becomes white and the green number becomes cyan. I've created a callback function assosicated with the numeric control and tried forcing the text and background color, in the EVENT_VAL_CHANGED section, using the SetCtrlAttrribute() function, but to no avail. Also added ProcessDrawEvents didn't help.
    When I mouse click again outside the numeric control, then it reverts back to its original colors (green text, black background).
    Any suggestions as to how I can fix this ?
    I want it to keep its original colors at all times, even when I'm clicking the incr/decr arrows...
    Kind regards,
    pgriep
    Solved!
    Go to Solution.

    Ok, now I see what's happening.
    The effect you are seeing is a resul of standard numeric control behaviour combined with the black bcakground: when you use arrows to increment/decrement a numeric control its value will be automatically highlighted; on the default background you'll see the white area and figures highlighted in black (white numbers on balck background). If you set the background to black the system will automatically change the colors used to highlight the text, and that's what you're seeing.
    By the way, this does not happens if you use up and down keys on the keyboard: text is not highlighted so colors are not changing.
    Additionally, this is not only valid for numerics: see the behaviour of the string controls on the bottom of your panel when you tab up to them. This effect does not happen on controls set as indicator like the big clock in the upper part of the panel.
    The only way I can see to overcome this behaviour is to hide control built-in arrows and create your own up and down buttons with which you can manipulate the numeric control. I am attaching a modified version of your project with buttons on the left numeric; sorry for the poor aesthetic:  I have used some arrow icons I had on my disk, you may want to create your own arrows with the colors and shape you prefer.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?
    Attachments:
    ModifiedApplication.zip ‏9 KB

  • Background color changes when using AJAX

    I'm using NetBeans and the plugin Project Dynamic Faces Ajax Components. Each time a radio button is selected a few textfields are hidden/shown.
    But each time I press a radio button, my background color of my JSF page is changed (from blue) back to white.
    Does anyone know how to disable this, or just how I can set the background of the page manualy in the java code.
    I've tried this.setBackground(...); , but it doesn't work.

    Hi. I currently use Canon, and i only see it in my RAW files.  All camera firmware is up-to-date. I am running latest version of Aperture, but still running 10.6.8. I went through a bunch of old photos where there was a good red color of something and i was able to duplicate the problem each time. Where there was a large area of red, it was VERY noticable. Also, I used to shoot with Nikon and my NEF files do the same thing where there is a nice red.  It seems to be an Aperature "thing."
    What i find so curious, is that even if I make no adjustments to the Levels sliders, just checking the box alters the color, same with the Vignette brick.  Also, I do color calibrate my monitor. thanks.

  • Tab background color changes when saving or downloading (Ubuntu) - bug ?

    I'm using Firefox 20.0 on Linux Ubuntu.
    When I'm opening and using Firefox, the active tab background is light gray, and the other tabs are black (with white/gray text). But as soon as I have downloaded a file (saving an image for example, or a pdf), the tabs change color: the non active tabs turn gray instead of black, and the tab text is almost unreadable (gray on gray).
    I have disabled ALL extensions (including the Ubuntu/Unity extensions) and restarted Firefox, and get the same result. See screenshot with before/after downloading: http://imagesup.net/?di=113687926169
    On the other hand, when I start Firefox in safe mode, all is well, the tabs don't change color when downloading or saving a file.
    What to do? Could this be a bug ?

    Hey, I'm on Ubuntu, too.
    It seems like you don't use Ubuntu's default theme, or at least, you have some modifications there, right? Try disabling your customizations to see if it works, I never saw / heard of this problem anywhere.
    Also update your Firefox, there are changes that your problem is fixed after updating.
    Another suggestion would be hacking about:config, for example, it might be the Download Manager's arrow flashing ( just guessing ), so you might want to disable that and see if something changes.
    search 'browser.download.manager' in about:config and play with those configs to see if anything changes.

  • Change item background color on runtime

    Hello
    i have a List control in my application. What do I have to do
    to change its items background color on runtime?
    Thanks

    You have to access the style of the object and then set the
    piece of the style you want to change. You need to set
    backgroundColor.
    myList.setStyle("backgroundColor", "#ABABAB");
    #ABABAB is grey, and you can put any hex color value there
    you like.
    Hope that helps.

  • Bug: Front Panel objects relative position change when placing merge VI onto Block Diagram

    I've posted a bug report on LAVA, here:
    http://forums.lavag.org/Front-Panel-objects-relati​ve-position-change-when-placing-merge-VI-onto-Bloc​...
    If someone at NI can reproduce, can I please get a CAR #?
    Thanks,
    -Jim
    Solved!
    Go to Solution.

    Donovan B wrote:
    Hi Jim,
    After my previous post, I also saw this behavior, so I decided to do another test.  If there are no decorations in the VI set to “Merge VI” (“Place VI Contents” for LabVIEW 8.5 and later) the controls and indicators are still not selected when dropping the VI from the Functions palette.  I checked this behavior back to LabVIEW 7.1 and it is consistent throughout that controls and indicators are not selected.  (Consequently, so is the fact that when decorations are present they don’t maintain the relative position).
    I am not sure if this would be better suited as a CAR or product suggestion since it has been this way that long, but it does not appear to be related to the fact that decorations are present in the Merge VI.  It does seem strange that the decorations are selected though.  Looks like the best way to work around this is to drop the VI from the Controls palette.  Hopefully, it’s not too much of a hassle.
    Hi  Donovan,
    Thanks for checking in.
    >  I checked this behavior back to LabVIEW 7.1 and it
    is consistent throughout that controls and indicators are not
    selected.  (Consequently, so is the fact that when decorations are
    present they don’t maintain the relative position).
    This just means that not many people use this feature.  However, now that VIPM Professional makes it so easy to edit the palettes, I'm sure that others will start complaining that this doesn't work as they expect.
    > I am not sure if this would be better suited as a CAR or product suggestion
    since it has been this way that long, but it does not appear to be
    related to the fact that decorations are present in the Merge VI.
     Just look up the functional specifications for this feature and see if all objects are supposed to be selected.
    But seriously, is there a reason that only the FP decorations are selected?  Surely this would be documented somewhere, if there was a good reason for this current (IMO, buggy) behavior.
    > It
    does seem strange that the decorations are selected though.  Looks like
    the best way to work around this is to drop the VI from the Controls
    palette.  Hopefully, it’s not too much of a hassle.
    That's not a reasonably work-around, IMO.  It doesn't make sense to drop Block Diagram components onto the Front Panel.  For example, this bug affects the JKI State Machine.  It doesn't make sense to drop a State Machine onto the Front Panel.
    So, I'd file it as a CAR/bug, and then wait to see how LV R&D feels about it.  If they can find some valid reason for why Controls and Indicators shouldn't be selected, then that's fine (and hopefully someone will explain it to me).
    Thanks,
    -Jim

  • Background color changed from white to yellow and =25% changed to %% on email

    I type =25% on my email and sent out, background color changed from white to yellow and =25% changed to %%.

    Try leaving a space after the =
    Thus: = 25%
    Where and when did it change? Did it change inside Thunderbird? Did it change in the Sent folder? Or in a reply to you?
    = and % are used in certain types of email encoding; =20% often appears, meaning character 0x20 which is 32 denary or the space character. It is often used where an explicit space would be illegal, and this is common in URLs and other links. I'm thinking that =25% similarly has a special meaning. It ''shouldn't'' get decoded, but software is buggy.
    I can't reproduce it here, which is why I'm asking about how and when it changes. Where does the Microsoft software come into it?

  • [svn:fx-trunk] 5313: Application, WindowedApplication, and Window background color changed to white.

    Revision: 5313
    Author: [email protected]
    Date: 2009-03-13 19:10:24 -0700 (Fri, 13 Mar 2009)
    Log Message:
    Application, WindowedApplication, and Window background color changed to white.
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-16721
    Reviewer: Ryan
    tests: checkintests, cyclone build tested
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-16721
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/airframework/defaults.css
    flex/sdk/trunk/frameworks/projects/framework/defaults.css
    flex/sdk/trunk/frameworks/tests/checkinapp/checkinapp.css

    Hi,
    When system is in a sleep mode or hibernate mode, it will save the data ans settings in memory or hard disk, so I suggest you run a memory check and a harddisk check and see if it can detect any errors.
    Memory check (instruction is similiar to windows 8\8.1, type "memory" in the search charm bar)
    http://windows.microsoft.com/en-in/windows7/diagnosing-memory-problems-on-your-computer
    Hard disk check
    http://technet.microsoft.com/en-us/magazine/ee872425.aspx
    Meanwhile, please check event viewer to find more information, useful path: event viewer\Windows logs or event viewer\Applications and Services Logs\Kernel-power
    Yolanda Zhu
    TechNet Community Support

  • Color change when opening in Reader

    Hi, I created a PDF in Photoshop. I then added an editable field in Acrobat, using the same RGBs. When I open the file in Reader, the color of the editable field does not match. Any suggestions on what I can do to resolve this?  I have the most recent version of Acrobat and Reader.
    Thanks,
    Jackie

    Here is a screen shot of the reader PDF, followed by the original file in Acrobat. You can see that the entire document color changed when I opened it in Reader.
    THanks,
    Jackie

  • Rules applied to multiple cells trigger color changes when any of the cells

    "Rules applied to multiple cells trigger color changes when any of the cells meet the rule’s condition." That's what Help says, but when I follow the directions, it doesn't work. This is in Numbers 08.
    I have a table where the contents of one column are either "YES" or "NO", depending on formulas using variables from other cells. If YES, I want the fill of that cell and that of two adjacent cells to change from white to green. I select all three cells and use conditional format rules for "text contains:" YES, then choose my fill color. When I return to the table and introduce values for the variables that trigger the rule, only the cell in the YES/NO column changes to green; the other two remain white.
    While I am spreadsheet challenged, I usually can follow directions as plain as those in Help, but it's not working. I couldn't find anything in the discussions after an hour of searching. Is this a known problem or am I just stupid?

    For what it's worth, that's the way I read that line in the User Guide as well. What it actually appears to mean, though is 'Rules applied to multiple cells apply independently to each of the cells."
    Here's a workaround for your three adjacent columns. Long, but fairly simple steps.
    Add a second table to the sheet (Table 2).
    Resize the second table to one column wide and as many rows as you want to apply the conditional format to.
    Set the width of the column to the same width as the three columns you want to highlight, and the row height(s) to match the rows.
    Format to table to have NO Header or Footer row or column.
    Use the Wrap Inspector to uncheck "Object causes wrap"
    In the first top cell of Table 2, enter an = sign, then Click on Table 1 in the sidebar, Click on the first cell that will hold YES or NO.
    Fill the formula down the rest of Table 2.
    With all cells in Table 2 selected, use the Cell Format inspector to set the 'text contains yes' rule and the conditional fill colour for these cells.
    Test the conditional formating by introducing values into Table 1.
    Click on Table 1 in the sidebar, then use the Table inspector to set Cell Fill to 'none'.
    Click on Table 2 in the sidebar, then drag that table onto table 1 aligning it to cover the cells in which the conditional formating is to appear.
    When positioned (and still selected), go to the Arrange menu and Send Backward to move Table 2 behind the (transparent) cells in Table 1.
    With Table 2 still selected, click on the Cell Borders color well and set the Opacity of the borders to 0%.
    Click the Text inspector and set the Text colour Opacity for Table 2 to 0%.
    Regards,
    Barry

  • Excel 2007 cell color changes when copying to other docum. using clipboard

    Hi,
    There is excel 2007 document which is generated by SAP. I think it contains
    some VB macros and some grouping.
    The problem is that if I select something from that document, copy that and
    paste to another excel 2007 document - colors get inverted somehow - for
    example white cell becomes red cell (backgroud color I mean), other
    background colors changes as well.
    If I open this xlsx document using excel 2003 (it converts document using
    compatibility pack) the issue is gone - I can copy contents to other excel
    2003 document without losing any format info.
    The problem is that our users all use office 2007.
    What could couse this behaviour ?
    thanks in advance
    Vilius
    Edited by: Vilius Mockunas on May 25, 2009 8:04 AM

    dear friend,
    you would do:
    1. search SAP Notes;
    2. check out the updates/patches for your MS Office;
    3. replicate it on another computer/another sap user (make sure it is a local issue)
    good luck!

  • Why do the colors change when I reopen a document?

    Why do the colors change when I reopen a document?

    Are you opening the same Pages document or do you open another document like Word? I has recently been a similar discussion in this forum.

Maybe you are looking for

  • Help with video display!!

    Hello all, After installing the 41.09 drivers for my MSI GF4200 64mb card, I noticed that upon DVD or any video file playback, I only see about one quarter of the video, which is the upper right hand corner.  I do not know if the problem started with

  • How to convert a Form to a Text file and XML file?

    Hi: I want to convert a Form to a Text file and XML file,but I don't know how convert? Please help! Oracle Form Builder V10.1.2.0.2 Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 Thanks in advance!

  • Retrieving files to upload to Ebay.

    When you name pictures in iPhoto at the iPhoto window, the name does not carry over to the jpeg in iPhoto library. If you want to insert a photo to say Ebay, you have to search the library folder for the day they were taken. There is no way of relati

  • Stock transfer between storage location in IS -Retail

    Hi, I want to have a Stock transfer order between two storage locations in the plant. I have activated the "Activate Stock Transfer Between Storage Locations", now i can create a STO and have the "Issuing SLoc" tab. Having that i get an error message

  • Listing Apple serial numbers in eBay ads?

    I'm getting ready to sell a few of my Macs on eBay. When purchasing equipment on eBay I always found that knowing the product's serial number is very helpful because I can easily determine more details about the item I'm interested in, including prod