Setting Color for Records in forms6i

Dear All
How can I set color for particular records on a form. i.e. Set the color of all employees whose salary is greater than 2000 to Red and All the rest to Green
Solomon

Hello,
6i is an old version and I don't remember if there is a Set_Item_Instance_Property() built-in. If yes, you can use it with a Visual Attribute that held the colors.
Francois

Similar Messages

  • To set color for barchart having datetime column

    Hi,
       I have a datetime column in the XSD,
    I was trying to set colors for the barchart through,  chart expert --> colorhighlight  ,here in  colorhighlight when i click on new I am getting a dialogue box asking to enter datetime in M:D:YYYY H:MM:SS TT format. why is this dialogue displayed ? How to overcome this.
    Regards,
    Deepa V

    Hi Deepa
    Please inform us with the following information:
    1: What is the version of Crysatl Reports that you are using?
    2: What is the Chart Type that you are uisng?
    3: Where are you placing this chart in the report?
    Regards
    Ashwini Yadav

  • SB Audigy 2ZS Plarinum Pro: setting source for recording

    Hello!
    I am having problems setting the source for recording. I want to set the recording source from 'Wave' (default) to 'Line-In /Mic'. After doing so with the mixer or the MediaSource Player it resets to 'Wave' after some time. Why? Can I force the software to make 'Line-In /Mic' the default setting? It really dri'ves me nuts to see that the source has changed without me being notified. I want to have the source changed only by myself and not by some cozmic radiation, God's will, voodoo magic and whatnot.
    Greetings
    ClustalW

    <Re: SB Audigy 2ZS Plarinum Pro: setting source for recording? Okay ClustalW, I understand the "Default" problem you are having. So can you go to control panel, and sound and there look at your recording devices and tell me what do you see? If your desired device is there, you can choose it as the default and then throughout the rest of windows, this will be THE global default recording device or the first choice, when you are in other programs to record from. Also, make sure your device is plugged in when making this change. On my system with that board, a few years ago, I could make the choice, but it would always pick something else when the source was unplugged. For example, if I were using the front bay inputs as recording, when I would unplug them and reboot, my system picked the next thing as default.
    Next go into to your Creative Control panel and do the same thing there. Theoretically your choices should be linked, but this is not always the result. I can choose mine in Vista and windows 7, but lastly I always go to the Creative mixer applet and do it there and that works best. For me, my default is my front panel Mic or Microphone FP but as soon as I unplug it, it wants to make my back mic jack the default.

  • How to set color for a tabstrip in BSP

    Hello all,
    Can anyone please let me know how to set color for a tabstripn in BSP?
    I am using the below syntax but it still gives me the default color.
    <htmlb:content design="design2003" >
      <htmlb:page title="test " >
        <htmlb:form>
    <htmlb:tabStrip id         = "TabStrip"
                          bodyHeight = "200"
                          bodyColor  = "red"
                          width      = "700" >
    </htmlb:tabStrip>
    </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Thanks,
    Sandeep

    Hi...
    The below code is working fine for me...
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="stg " >
        <htmlb:form>
          <htmlb:tabStrip width      = "430"
                          bodyColor  = "rgb(88,5,64)"
                          id         = "t1"
                          bodyHeight = "112" >
            <htmlb:tabStripItem id      = "t1"
                                index   = "1"
                                title   = "Sales"
                                tooltip = "My Tooltip for Tab 1" >
              <htmlb:textView text="Tab N 1" />
              <htmlb:tree id        = "treeReports"
                          showTitle = "true"
                          table2    = "<%= mt_nodes %>"
                          title     = "Menu"
                          width     = "100%" />
            </htmlb:tabStripItem>
            <htmlb:tabStripItem id      = "t2"
                                index   = "2"
                                title   = "Production"
                                tooltip = "My Tooltip for Tab 2" >
              <htmlb:textView text="Tab N 2" />
            </htmlb:tabStripItem>
          </htmlb:tabStrip>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

  • How set color for a ValidationTextField's hint?

    I want to set color for a ValidationTextField's hint, to
    implement watermark effect, how do it?

    Hi...
    The below code is working fine for me...
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="stg " >
        <htmlb:form>
          <htmlb:tabStrip width      = "430"
                          bodyColor  = "rgb(88,5,64)"
                          id         = "t1"
                          bodyHeight = "112" >
            <htmlb:tabStripItem id      = "t1"
                                index   = "1"
                                title   = "Sales"
                                tooltip = "My Tooltip for Tab 1" >
              <htmlb:textView text="Tab N 1" />
              <htmlb:tree id        = "treeReports"
                          showTitle = "true"
                          table2    = "<%= mt_nodes %>"
                          title     = "Menu"
                          width     = "100%" />
            </htmlb:tabStripItem>
            <htmlb:tabStripItem id      = "t2"
                                index   = "2"
                                title   = "Production"
                                tooltip = "My Tooltip for Tab 2" >
              <htmlb:textView text="Tab N 2" />
            </htmlb:tabStripItem>
          </htmlb:tabStrip>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

  • Setting colors for item labels in JFreeChart (WaferMapRenderer)

    Hi,
    first of all, sorry for posting a JFreeChart related posting on this forum, but I didn't get a solution right now (I even didn't find anything useful on the JFreeChart website/forum). Here's my question...
    I'm trying to set the color for item labels in the legend but with no success.
    Here's a code example:
    final JFreeChart chart = ChartFactory.createWaferMapChart(
        "Wafer Map Demo",         // title
        dataset,                  // wafermapdataset
        PlotOrientation.VERTICAL, // vertical = notchdown
        true,                     // legend          
        true,                    // tooltips
        false
    WaferMapPlot plot = (WaferMapPlot) chart.getPlot();
    WaferMapRenderer renderer = new WaferMapRenderer();
    renderer.setSeriesItemLabelPaint(0, Color.red);
    renderer.setSeriesItemLabelPaint(1, Color.blue);
    plot.setRenderer(renderer);The default behavior of the WaferMapRenderer is also strange because the item label as well as the item marker is painted black so you cannot distinguish different fields of the wafer map. Is this a bug or am I doing something wrong (or missing somehting)?
    Any help would be greatly appreciated.
    Thanks and best regards,
    - Stephan

    Your folder action script doesn't work because of one simple error:
    set label index of every item of entire contents of processFolder to 7
    Nowhere in your script is 'processFolder' defined, so AppleScript has no idea what you're trying to do.
    Given that you (correctly) iterate through added_items, the correct format would be:
    on adding folder items to this_folder after receiving added_items
      repeat with item_ in added_items
        tell application "Finder"
          set label index of item_ to 7
        end tell
      end repeat
    end adding folder items to
    In other words, this changes the label index of each item just added.
    That should work provided you're dropping files into this folder. If you're dropping folders then this would set the label index of the folder itself, but not necessarily the items within that folder. For that you'd need to add a check to see if item_ was a folder and add code to handle folders.
    Also note that this kind of folder action will only work on the folder itself - that is, if you have folder A that contains subfolder B, then dropping a file into subfolder B won't trigger the script and won't change that item's label. To do that you'd have to attach your folder action to subfolder B.

  • Set color for TableCellDesign for a table in readmode.

    My Requirement is dynamic assiging the Tabcelldesgin color for table column, but Table in readonly = false.
    is there any possiblity of assigining the values dunamically.
    Thanks in  advance

    Yes, i have assigned to Table column to set color dynamically for  different conditions.
    But color is visible, when table in read mode.
    My requirement is need to set color, when table in readonly = false.
    Please can any one have the solution for this>

  • JEditorPane set color for desired chars

    How can I set color and other parameters for desired chars in JEditorPane or it's better to use some other class.
    Thanks.

    Read this section from the Swing tutorial on "Using Text Components" and then decide which is best for you:
    http://java.sun.com/docs/books/tutorial/uiswing/components/text.html

  • Setting color for cells in a particular column of a jtable

    Hi, I know how to set the color for a cell in a column if the cell contains an Integer object and if I have default Integers already in the JTable when I begin. However I want the JTable to look blank at the beginning. As I can't make an Integer object invisible on the JTable I need to specify the colum in which I want the cells to change color in. I want to specify the column some how and then when the table later has Integers in it i can do a comparison to decide whether i want to change the color or not. Does anyone know how I will do this.
    Please HELP.

    1) You need to set the tooptip text on the renderer for the column (yourTable.getColumnModel().getColumn(...).getHeaderRenderer()).
    2) The header is a separate component to the table. When you add a table to a scroll pane it automatically adds the header to the scroll pane too. You can get the component (yourTable.getTableHeader()) and add it to your own container if you wish.

  • Would this be a decent set-up for recording???

    +Computer:
    Apple MacBook
    *2.2GHz Intel Core 2 Duo
    *2GB 667MHz DDR2 SDRAM - 2x1GB
    *250GB Serial ATA Drive @ 5400 rpm
    *Double-layer SuperDrive
    +Software:
    Logic Express 8
    +Interface:
    M-Audio FireWire Solo Mobile Audio Interface
    * 24-bit/96kHz sample rate support
    * XLR input with 48V phantom power, gain control, and clip LED
    * 1/4" input with gain control and clip LED
    * S/PDIF digital I/O
    * 2 - 1/4" line inputs
    * 2 - 1/4" line outputs
    * Dual FireWire ports with bus power
    * ASIO2, WDM, GSIF2, MME, and Core Audio compatibility
    * Stereo headphone output
    * Rackmountable
    * FireWire included
    I'm planning on getting a MacBook soon and I wanna learn recording. So this is all completely new to me. Would this be a decent set-up for a mobile rig?
    Thanks for any help!
    Message was edited by: zpkoah
    Message was edited by: zpkoah
    Message was edited by: zpkoah
    Message was edited by: zpkoah

    The set up sounds like it would work fine, but what do you intend to record, a full band during live performances, or home recording guitar and vocals over some MIDI bass/drums/keyboard tracks?
    You may want additional input channels to have better control of the mix if you intend to record a full band and need to isolate the different instruments/vocals.
    You can always use a mixer board and just record from the line-outs of the PA if you are happy with the live mix. The MacBook has 2-channel (Stereo left/right) audio inputs built-in. So you really only need the FW input box if you lack a PA system or other mixer and want the flexibility of added simultaneous track recording. So, I guess it depends if you think you might need additional vocal channels and instruments, then maybe consider a mixer board with more inputs. Check the specs to see how many simultaneous independent inputs are sent to the computer.
    The computer and software should do the trick. I haven't used Logic, just played around with Garage Band and an older version of Cubasis.

  • Setting Color for whole application

    Hello everybody.
    I've to set the Button.background - Color for a whole application.
    For these purpose I use the JColorChooser and the
    UIManager.put("Button.background",>anyColor<); - method.
    When I use this the first time after start it works fine. When I try to change the color again it doesn't.
    Any ideas?
    Thanks for your help.

    OK, no more help needed at this time.
    My mistake was that I tried to call
    UIManager.put("Button.background",Color.red);
    it has to be:
    UIManager.put("Button.background",new ColorUIResource(Color.red));

  • Setting Color for MenuItem Accelerator Nimbus Layout

    Hi,
    I'm trying to change the Color for my GUI during runtime. I've created an Dialog including a ColorChooser. If a user selects a new color and confirms the change with "OK" the color of all items in the GUI should be changed. This is working for most of the components.
    But the color for the MenuItem Accelerator (f.e. STR+V) does not change. The change for the MenuItem itself is working. I tried different ways - using the UIManager.put, overwriting the MenuItem paint method, but nothing works.
    Any ideas or hints?

    Hi,
    I'm trying to change the Color for my GUI during runtime. I've created an Dialog including a ColorChooser. If a user selects a new color and confirms the change with "OK" the color of all items in the GUI should be changed. This is working for most of the components.
    But the color for the MenuItem Accelerator (f.e. STR+V) does not change. The change for the MenuItem itself is working. I tried different ways - using the UIManager.put, overwriting the MenuItem paint method, but nothing works.
    Any ideas or hints?

  • How to change colors for record working time calendar

    Hi,
    I would like to change the colors in the calendar displayed in record working time based on some conditions.
    How do i do that is there any BADI associated with that
    Thanks
    Bala Duvvuri

    Hi Bala ,
    Yes its possible to change that .
    You need to implement BADI for this ..
    BADI name : "PT_ABS_REQ"
    In the BADI "PT_ABS_REQ"   interface "IF_EX_PT_ABS_REQ" you can find the method
    "SET_CALENDAR_COLOR" in that you can set the colure for the Absent type ......
    Adjust Colors of Calendar and Team Calendar
    Functionality
    You can use this method to change the colors in the team calendar.
    In the standard system, the different statuses for requests have different colors. You can use this method to differentiate the colors of requests depending on the following aspects:
    Status of requests (status)
    Action that an employee has executed: new request, delete, change (UIA operation)
    Subtype of absence (SUBTY)
    Full-day or partial-day absence (BEGMT, where BEGMT = 0 signifies a full-day absence)
    Application mode ( mode). You specify the application mode in the Select Employees for the Team Calendar IMG activity.
    Color Display of Status of Leave Requests(COLORS_ACTIVE). You specify this status in the Specify How Leave Is Displayed and Default Values IMG activity.
    Available Colors
    You have a choice of 16 colors. The 16 colors are hard coded, that is, you cannot change them or add other ones.
    The available colors are stored with their RGB value as constants of the CL_PT_REQ_CONST class. Use these constants if you want to change the colors.
    Notes
    If you change the colors in the team calendar, you should also adapt the legend accordingly. You can use the Adjust Legend for Calendar and Team Calendar method to do so.
    Hope this work!!!

  • Any way to set color for value in chart and still filter out values (but retain colors)?

    Is there any way that I can hard code a color into a chart and still filter out values?
    I have 5 divisions, each with a specific color.  I have put them into a stacked column chart and it looks fine.  My issue arises when I try to filter out some of the divisions.  The colors do not stay with the specified divisions.
    Ex.)
      Div 1 = Red
      Div 2 = Green
      Div 3 = Black
    When I filter out Div 1, this is what I see:
    Div 2 = Red
    Div 3 = Green
    I have tried standard delivered filter panel, and check-boxes using CHART_1.setDataSelection( )
    It seems like the color hard coding in the "additional" properties of the chart are not tied to the value, but are determined by sort order.  Any help is greatly appreciated

    Hi,
    There is one Possibility bu not By chart .
    It will look like chart but will use Text box .
    Lets say you have 5 Divisions & 3 Key figures .
    Then You need 5 * 3 = 15 Text box .
    Arrange them in 5 columns and 3 rows type of view .
    now .
    set fix width for all .
    set the height & position by coding
    You need to set this type of code for filter selection also .

  • Setting color for labels

    I've just been reading the look-and-feel guidelines, and they suggest using Primary 1 (#666699) for labels for components in the GUI. However, they don't suggest how to get this programatically. The examples use resource bundles to get strings (i.e. resources.getString(componentName.labelString) but they don't explain how to set up and best use a resource bundle.
    What is the easiest way to set the color of a label to "Primary 1" for the current look-and-feel.
    Our apps are currently not at all internationalised, so we don't have any existing resource bundles.
    Cheers,
    -T

    Hi,
    this is a tutorial about resource bundles:
    http://java.sun.com/docs/books/tutorial/i18n/resbundle/index.html

Maybe you are looking for

  • Final cut express hd won't open

    i was trying to render some video while monitoring the footage through my dv cam and then on to a tv screen. as has happened before, the camera cut out and the warning for removing hardware came up. the ext hard drive had also gone off and the video

  • Fields that are not displayed are still submitted

    Is there any way to prevent fields from being submitted? I have fields that are only conditionally displayed on the screen, but the values are submitted every time. ie, user enters some field values, submits the page. we branch to the same page and d

  • Lightroom doesn't open image in Photoshop CS5 but does open PS CS5

    I just installed CS5 and uninstalled CS4. Now, Lightroom 2.7 when in try to "Edit in Photoshop CS5" Photshop CS5 does open, but the image I am trying to edit does not open in PS-CS5 .  Photoshop just opens and the image from Lightroom is not present.

  • Changing Layouts After-the-fact

    Hi All- I am rebuilding my company's website on our server where previously it was outsourced, designed and hosted by another company. I feel that this is a huge undertaking ... and my boss thinks it should be easy. He wants me to look at the site th

  • Time capsule - how can I see logs from other days?

    I want to know who were connected or tried. I make sure that nobody else of our office were connected. I dont know if is that possible, I know that I can see who's connected rigth know. Can I do what I want? Thanks,