How to change the default color of an element

10g-shaped I use this to change the color of this element.
Set_item_property ('T_ITEM_Phone.ip_address', 'r191g223b191', background_color);

I want when I press cancel, which should clear the color.
How to change the default color?

create 2 named visual attributes

-default_color (do not touch any Visual attribute property)
-new_color - (background color only change the color of your choice)

on your trigger write this code to change

 set_item_property('Myitem',visual_attribute,'NEW_COLOR');

to set back to normal

 set_item_property('Myitem',visual_attribute,'DEFAULT_COLOR');

Please mark it correct / useful if it is

Baig,
[My Oracle Blog | http://baigsorcl.blogspot.com/]

Tags: Oracle Development

Similar Questions

  • How to change the default color of GaugeField?

    Hi all

    BlackBerry GaugeField the default color is blue. How to change the default of GaugeField color? How to override?

    Thank you

    Try with this example a and modify according to your needs

    Field GaugeField = new GaugeField ("", 0, 100, 20, GaugeField.FOCUSABLE) {}
    protected void paint (Graphics graphics) {}
    graphics.setColor (Color.RED);
    graphics.fillRect (0, 0, (Display.getWidth (/getValueMax ())) * getValue (), getHeight());
    }
    };

    There is no label for gauge field.

    If you want a labelfield and sepately use a labelfield and add this labelfield with this gaugefield in a horizontal handler, then use getwidth() instead of Display.getWidth ().

  • How to change the default color for tables/pivot tables

    Can someone share how to change the default font color or background for tables and PivotTables? In my view, there is a CSS or XML setting I need to change.

    It is difficult to read the text when negative numbers are RED and the overall totals have a default NAVY background fill. I'm trying to find out how to change the color of these without doing it manually to each report.

    Thank you.

    Jin

    For pivot Table

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the PivotTable section code

    For table veiw

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the section of the Table

    PS:take backup your original file before you edit any css file. Don't forget to give the points/close the thread

    Thank you
    saichand.v

  • How to change the default color of the chart.

    Hello

    I want to change the color of the graph dafault. For example, when I change the color by default in position 1, it will affect all color graphics of position 1. I mean change the color by default in a place, and it will affect each graph in poet. How can I get?

    Thanks in advance.

    The colours in the painting are to be referred to as * 'palette.cxml' * files in these directories

    BI_HOME\web\app\res\s_oracle10\chartsupport
    BI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\chartsupport

    You can change your custom colors.
    Restart OC4J and PS to the new work...

    Kind regards
    Rambeau

  • How to change the default color for the text label

    Hello friend

    I have a question, Z10 Simulator has the default theme of the white background & Q10 thoroughly black theme, if I put a white background of the page, & txt for the label by default color is black on Z10 is good, but the same page on Simulator of Q10 has cause there default label text color is light (white grey) which is not visible.

    It is a way to set the color of the default text of all labels in an application.

    Thanks in advance

    I think the best way is to use the same theme in both the model Z10 and bright theme Q10 or dark theme.

    for this add-in

    the light theme

    or

    theme dark

    in your file descriptor-bar.

  • How to change the default color of black in JS and still maintain melted effect?

    Hi, I got a java script that fades in a text on loading. It works but I can't seem to change the color and keep the fade in effect. Any ideas? I'm using CS5.

    I think it is something here that needs to be changed?

    < script language = "javascript" >

    Col = 255;

    function fade() {document.getElementById("fade").

    style. "Color =" RGB ("+ col +",) "+ col +", "+ col +") ";" Col-= 40; if(col>20) setTimeout ('bland ()', 300); }

    < /script >

    Try to change this-

    if(col>20)

    on this subject.

    if(col>90)

    and see what happens.

    Murray

  • How to change the background color to inspect element component (i.e. the Inspector and not the page under inspection)

    This component has suddenly changed into dark blue. With the police of the inspected items in the colors of foreground dark that it is very difficult to read. How to bring back the white background? Thank you.

    Apply the following user with the Stylish extension style.

    @namespace url(http://www.w3.org/1999/xhtml);
    
    @-moz-document url("chrome://browser/content/devtools/markup-view.xhtml") {
    
    body { background: white !important }
    
    }

    If you need to change anything else, you can use the extension DOM Inspector to examine the UI elements ("chrome").

    If you need help with the CSS code, see below for a starting point.

  • How to change the default "/" shortcut (select none in the shade of color) to something different? Where can I find this in keyboard shortcuts?

    How to change the default "/" shortcut (select 'none' in the shade of color) to something different? Where can I find this in keyboard shortcuts?

    Any ideas?

    In the Tools menu:

    "Apply no color."

  • Change the default color of Firefox opening links in a new tab

    I use stylish addon for Firefox with a dark default css. I also changed the default window colors in the Windows registry. This changed the subject: white page to a dark color. But when I open a link in a new tab before the page is loaded, Firefox displays a blank page with a white background. I wonder how to change the white color to another.

    See also the discussion in this old MozillaZine forum thread.

  • How to change the background color of the code written DW page but not the Web page...

    How to change the background color of the code written DW page but not the Web page...

    If you have DWCC2015, you can change to edit > Preferences > coloring Code and either choose a new theme (RecoGnEyes is the background dark code by default) or you can change it to what you want in the background field by default.

    2014 CC had no theme options, but you can change the background color in the same place.

    I think that some of the previous versions also had the option, but I don't have them on my machine to check.

  • How to change the background color of selection of the selected item in the drop-down box of choice?

    How to change the background color of selection of the selected item in the drop-down box of choice?

    By default, the selection background color like 'blue', but if I want it to be "yellow" for example, how should I do?

    Thank you

    The id is applied by (I think) the skin of the ChoiceBox class. You don't need to define.

    You must apply the css in an external style sheet. You can apply the external style sheet to any parent of the box of your choice, or on-site (the most usual way to do it).

    Example:

    import java.util.ArrayList;
    import java.util.List;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class ChoiceBoxTest extends Application {
    
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
    
        final ChoiceBox choiceBox = new ChoiceBox<>();
    
        List tempResult = new ArrayList();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        }
        choiceBox.getItems().setAll(tempResult);
    
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    
      public static void main(String[] args) {
        launch(args);
      }
    
    }
    

    choiceBox.css:

    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
     -fx-background-color: yellow ;
    }
    #choice-box-menu-item .label {
     -fx-text-fill: black ;
    }
    

    Post edited by: James_D

  • How to change the font colors in the communities of support?

    How to change the font colors in the communities of support?

    Thank you

    Press or click on use the Advanced Editor in the upper right of this text block which will take you to it.

  • How to change the background color of string programmatically?

    How to change the background color of string programmatically?

    Are you talking about string indicator and control chain? If so, right-click on a control/indicator of string and select Create-> property Node-> text-> text-> BG Color colors. Change to write and a number of the color you want to use phone.

  • How to change the default path for documents and settings

    How to change the default path for documents and settings

    I try to change in the registry, but the profile can create but error! had no choice to change the default path % lecteur_systeme % d: /.

    Hello

    I suggest you to download TweakUI, this could help you or get you headed in the right direction
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

    Also this KB could help as well:
    http://support.Microsoft.com/kb/236621

    It will be useful.

  • How to change the highlight color for windows 7 (select the file or folder)?

    How to change the highlight color for windows 7 in the aero theme (select the file or folder)?

    You can change the font size because it is not a widget.   To do this:

    1 type dpi in your Start menu search box, and then choose make text and other more or less important.
    2 - Choose a size you prefer
    3 - Click on apply.

Maybe you are looking for

  • How can I create and OMF in fcpx?

    Hello world Is there a way to export an OMF from FCP X? Thank you JPM

  • Cannot enable virtualization in my Bios Menu

    I am trying to run Vmware virtualization on my pc, but to do this, I think I have to go in my system BIOS and enable virtualization. However, I think I have entered in my BIOS and could not fine any option for virtualization. Can someone help me plea

  • Portege Z930 - process 'System': high CPU when on battery usage

    I have a Portege Z930.A process called 'System' will appear in the Task Manager when I unplug the PC from the AC. I would like to know why is - this high utilization of the processor (from 9% to 18%) and keep my time above 70 ° c.It is very annoying,

  • How blurred pictures with my Canon?

    I just opened my studio and have a session tomorrow.  How can I get blue of photos with my Canon?  I tried

  • Touchscreen issues Dell Inspiration 3521

    OK, so there's my spec Service tag ADMIN NOTE: maintain the label removed by privacy policy > Express service code ADMIN NOTE: kidnapped by the Express service code privacy policy > Computer model Inspiron 3521 BIOS Editor Dell Inc. BIOS version A14