Background color of check box

Hi All,
I have one doubt.Suppose I have a lot of records.With in the same block I have Check boxes adjecent to records.
I write a Pre-Block trigger:
Set_Block_Property(:system.CURRENT_BLOCK,current_record_attribute,'GP_V_YELLOW');
Post-Block Trigger::
Set_Block_Property(:system.CURRENT_BLOCK,current_record_attribute,'GP_V_WHITE');
My question is I never want to change the background color of check box.How to do it.
Any Ideas,
Thanks,
Bhujendra

Hi,
I have several blocks.That's why i'm using pre-block in form level trigger. Each record in a block is required to show visual attribute GP_V_YELLOW,GP_V_WHITE

Similar Messages

  • Can i give color ot check box in forms 6i

    HI
    is it possible to change the color of check box in forms 6i..??
    i want to change the color of inner part of square of check box.. is it possible??
    pls reply me asap .

    Hi,
    It is not possible to change the colour of the check box where the check appears. You will be able to only change the colour of the other areas.
    Hope this helps.

  • How to color the check boxes?

    Hello
    I have couple of check boxes on my form, like....... my_check_box_monthly....... my_check_box_yearly.
    I have 2 scenarios, so based on scenario, i hv to select either of the check box, as below
    if scenario_1
    make/display my_check_box_monthly with BLUE
    else if scenario_2
    make/display my_check_box_yearly. with RED
    endif.
    For text fields..... I know how to get i, its as below,
    this.ui.oneOfChild.border.fill.color.value = "224,224,224";
    Pls. let me know How to write the code for COLORING the check boxes in Java Script?
    Thank you

    Kindly check this code for changing border color of check box
    If scenario1
    this.ui.checkButton.border.edge.color.value = "0,0,255";
    else if scenario2
    this.ui.checkButton.border.edge.color.value = "255,0,0";
    Thanks,
    Anitha

  • How can I change the background color in text box using RGB format

    Can some one tell me if Mac Pages (version 5.0) allows users to customize the background color of a text box using RGB color format?  It appears that the text color can be changed using RGB but background color is limited to a few standard colors.   Thanks

    They are just sample swatches, use the Color Picker to choose anything you want.
    Peter

  • Setting background color in a Box

    Below is the code for a simple dialog displayed from an applet. The dialog contains a text area and a button inside a box. I would like for these 3 items to have the same color. However I'm not able to set the color of the box. I hope you can suggest a solution.
    Thanks for your help.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ComboBoxApplet extends JApplet {
      public void init() {
        new MessageDialog("Hello there....");
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class MessageDialog extends JDialog {
      JButton okButton = new JButton("OK");
      public MessageDialog(final String text) {
        JTextArea label = new JTextArea(text);
        label.setEditable(false);
        label.setForeground(Color.black);
        label.setBackground(SystemColor.control);          // successful
        Container pane = getContentPane();
        pane.setLayout(new BorderLayout());
        pane.add(label,BorderLayout.CENTER);
        setSize(150,120);
        Box okBox = Box.createHorizontalBox();
        okBox.setJForeground(SystemColor.control);            // unsuccessful attempt
        okBox.setBackground(SystemColor.control);            // unsuccessful attempt
       okBox.add(Box.createGlue());
        okBox.add(okButton);
        okBox.add(Box.createGlue());
        pane.add(okBox,BorderLayout.SOUTH);
        okButton.setBackground(SystemColor.control);            // successful
        okButton.addActionListener(
          new ActionListener() {
            public void actionPerformed(ActionEvent event) {
              setVisible(false);
        getRootPane().setDefaultButton(okButton);
        setVisible(true);
    <HTML>
    <TITLE>ComboBox Applet Test</TITLE>
    <BODY>
    <APPLET CODE=ComboBoxApplet.class WIDTH=400 HEIGHT=200>
    </APPLET>
    </BODY>
    </HTML>

    I have a really easy solution to this, I just tried it out and it worked perfectly. You cannot set the background to the box, but you can set it to the frame(this), and panels. so why dont you do the following:
    1)just create a panel
    2)add the "Box" that you have to the panel
    3) set the background of the panel
    it works good for me

  • Background color in a box

    I am playing with creating a single row table that has two columns. The first column has no background color. Elsewhere in the ID file, I have a text box that has a gray background applied to it. I want to apply this gray background to the second column. It has to be the exact same gray background.
    How do I find the RGB for the gray in the text box so I can set it within the cell properties of the cell within the table?

    Never mind. I just found my answer. It’s on Table è Cell Options è Strokes and Fills. It’s in the Cell Fill section.

  • What is the technique for background color to text box?

    I expected that I could fill the background of a text box but
    I can't see any way to make the fill.
    Using the fill tool only effects the text,not its background.
    Perhaps I'm missing something in which case I'd appreciate a
    direct to the place in the help where this is described.
    Otherwise the implication is that you have to place a filled
    object behind the text, is that correct?
    Thanks

    "Otherwise the implication is that you have to place a filled
    object behind the text, is that correct?"
    This seems to be the approach to be followed.

  • How can I change background color in parameter box

    Hi all,
    I would like to change back ground color of parameters box  from blue to other color.
    where i have change?
    see attached screenshot.
    please help me 
    Thanks in advance for your support

    Hello,
    I don't think this is documented in BIP's manuals.
    All you will find regarding "changing the colour" is related to conditional formatting
    see section 3.8.3.5 About Conditional Formats from Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher
    http://docs.oracle.com/cd/E28280_01/bi.1111/e22254/create_lay_tmpl.htm#cond_format
    If you open a service request to support we can open an enhancement request with Development.
    If this will be approved, you can have this option implemented in future versions.
    Bogdan

  • Change color of check box symbols

    How do I in LiveCycle Designer change the color of a check mark? I need one check mark to be blue, 30pt and another to be red, 30pt?

    https://acrobat.com/#d=4gSLmyfhH6ejuEXweY9bKA

  • My screen background color is off-white & this color comes through on the print page. Page Setup/Print Background is set off. How do I fix this? Problem first popped up with version 6, still there with version 8.0.1

    File/Page Setup/Format & Options/Options/Print Background (colors & images): Check box set off.
    This setting does not work as my screen background color still comes through on the print preview & the print page.
    Is this because the newer Firefox versions have blocked my graphics driver version?

    See [https://bugzilla.mozilla.org/show_bug.cgi?id=683139 Bug 683139] – Using the 'High Contrast Black' 'Accessibility Option' in Win XP results in the screen colours being printed.
    <i>(please do not comment in bug reports)</i>

  • How to change the selection background color of the selected item in the popup menu of the choice box ?

    How to change the selection background color of the selected item in the popup menu of the choice box ?
    By defaut, the selection background color likes "blue", but if I want it to be "yellow" for example, how should I do ?
    Thanks

    The id is applied by (I think) the skin class of the ChoiceBox. You don't need to define it.
    You have to apply the css in an external style sheet. You can apply the external style sheet to any parent of your choice box, or to the scene (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<String> choiceBox = new ChoiceBox<>();
        List<String> tempResult = new ArrayList<String>();
        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 ;
    Message was edited by: James_D

  • 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

  • Change background color of textbox based on non-visible value

    Hello,
    I have a 10g master - detail form. I was wondering how can I change background color of text box (NAME) based on non-visivle item (MODIFIED_BY) value.
    So far, I have created two visual attributes and have put following code on "WHEN_NEW_BLOCK_INSTANCE" trigger
    if( :main.MODIFIED_BY = 'COCO') then
         SET_ITEM_PROPERTY('main.NAME',VISUAL_ATTRIBUTE,'VA_BLUE');
    else
         SET_ITEM_PROPERTY('main.NAME',VISUAL_ATTRIBUTE,'VA_RED');
    end if;
         But, it always goes to "ELSE" part and make RED color for all records. Could you please help me with this?
    Thanks.

    Got it.
    Post Query trigger on block
         if (:main.MODIFIED_BY ='COCO') then
              set_item_instance_property('main.NAME',current_record,visual_attribute,'VA_BLUE');
         else
              set_item_instance_property('main.NAME',current_record,visual_attribute,'VA_RED');
         end if;Thanks

  • How to change the Video Background Color - The Answer...Not the Question.

    Hello All,
    I was struggling with the Video Background Color as I was setting up my DVD. I'm new to DVD Studio Pro. I couldn't get the color to change from grey to the desired black. I was moments from asking for help, but thought to try just a bit harder. The answer lies under Preferences, Menu, Video Background Color. Just thought I'd share for future search strings by others.
    Ahh, onward!
    DG

    The id is applied by (I think) the skin class of the ChoiceBox. You don't need to define it.
    You have to apply the css in an external style sheet. You can apply the external style sheet to any parent of your choice box, or to the scene (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<String> choiceBox = new ChoiceBox<>();
        List<String> tempResult = new ArrayList<String>();
        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 ;
    Message was edited by: James_D

  • Check box color

    Hello,
    I need to put the background color of a check box in gray, instead of white. If i change his property enabled to no, it will be gray only post query, but i need that he stays always gray (also in enter-query).
    I tried set_item_property,Set_Item_Instance_Property and nothing until now
    Cheers,
    Nuno

    Try adding a SYNCHRONIZE after setting the color.  For example,
    SET_ITEM_PROPERTY('myblock.mycheckbox',BACKGROUND_COLOR, 'r192g192b192');
    SYNCHRONIZE;
    Because you are using an old and unpatched Forms version, the fact that the color is not changing, you may be exposing a bug.  If you want to continue experimenting, I would recommend applying the last patch set for the v10 family.  The terminal patch for Forms 10.1.2 is 10.1.2.3 (MOS Patch ID 5983622)
    http://support.oracle.com

Maybe you are looking for

  • Open a link in new window for .doc, .xls, .pdf

    How to link a PDF, word, & Excel file in fla by clicking a button? That link will open seperate window for any of these document with the swf file still open in the background.

  • Can you link to specific start and end pages of pdf in a web page

    I'm using iframes to display a pdf on a web page. i want to be able to link to for example pages 2-3 of a 20page document. I know i can link to a start page or a bookmark/destination but i only want those 2-3pages available to the viewer not the whol

  • How to use driver emulation in opengl profile

    I'm trying to use the OpenGL Profiler to resolve a bug happened on the Mac of a client. I read in the OpenGL Profiler User Guide, we can the driver emulation to emulate an Grpahics Card Driver not existing on local machine, just by select the wanted

  • New Lion Server and Client install... what to expect?

    Ok, so in a week I have a Mac Mini Server and a classroom of clients to set up, image, OD master, connect to AD, manage prefs etc (If I had the choice, I wouldn't touch Lion for at least 6 months, but it's not a luxury I have). I have no AD system to

  • Text becomes garbled when sequences transferred to new computer

    I transferred a bunch of sequences to my editor's computer. they look fine -- except the text (and there is a lot of it) moved, grew exponentially bigger, and in general was garbled. This seems to happen every time I open a sequence in final cut on s