How to make a 3 color tank indicator?

Greetings All,
I've written a short display GUI that reads pressure out and am looking to make a fancier display for it.  I'm trying to make something like the "numerictank" indicator that changes colors as it progresses.  Currently, I can change the entire fill color, but I'm looking to go one step farther.  I'd like it to change color in certain areas as it approaches a certain range.
For example:  a numeric tank that goes from 0-15.  I'd like to make the 0-5 range red, the 5-10 range yellow, and the 10-15 range green.  This way all 3 colors will be displayed and not just changing the entire fill color.  Is this possible with existing controls?
Many thanks for reading,
Rob

Greetings all!
First off, I'd like to thank all that responded   It's good to have a spot to come & get help
Unfortunately, it seems that to do what I was trying to do, I had to just have 3 "tanks" stacked one on top of the other w/ their own separate ranges.  I was able to make it look like one complete gauge
Thanks again for all the help!!!
Rob

Similar Messages

  • How to make custom icc color profile work as default for all users?

    Hi!
    I've calibrated two monitors for the machine running Mavericks OS X. I've managed to move these custom icc color profiles to ColorSync folder in HDD Library, so that that they are available for all the users. However, I cannot figure out how to make these icc profiles work as default profiles for all users and not only the one I used to calibrate monitors.
    Is there a specific place I have to put custom icc profile to make it system default?
    Thank you!

    If you put the profiles in the root /Library/ColorSync/Profiles/ folder, then each user needs to select them in their account. There isn't a way to apply them globally so each account automatically comes up that way.

  • How to make the Text Color in Smartform

    Hi All , I have couple of  things.
    1)   I need to make text Red color for display in smartform.How can i go and display the text in the red color.
    2) For the same text i need two languages.ie if the vendor is English then text need to be displayed in English  .if the vendor is German then text need to be displayed in German.
        If any one have solution for above issues please help us.
    Regards
    Channappa Sajjanar

    Hi Channappa,
    For langauge translatios you have to use SE63 tcode.
    You have to choose red color for u r u r character formats.
    That changes you have to do in smart styles.
    To do the changes in u r smart style go to form attributes.Double click on form attributes.
    In style u will see u r smart style.
    Double click on smart style.
    There u can give u r desired character format.
    Let me know if you have any questions.
    Edited by: vinay raj on Apr 29, 2009 2:55 PM

  • How to make links different colors

    I can't figure out how to make one link a different. 

    You need to define a set of link states (link, visted, hover, active) for each ID or class name required.
    Let's say you want to have red links in your #header and white links in your #footer.
    CSS:
    #header a {text-decoration:none}
    #header a:link {color:red}     /**unvisited**/
    #header a:visited {color:gray} /**visited**/
    #header a:hover,               /**on mouse over**/
    #header a:active,              /**on click**/
    #header a:focus                /**on tab key**/
        {text-decoration:underline}
    #footer a {text-decoration:none}
    #footer a:link {color:white}
    #footer a:visited {color:yellow}
    #footer a:hover,
    #footer a:active,
    #footer a:focus 
        {text-decoration:underline}
    HTML:
    <div id="header">
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    </div>
    <div  id="footer">
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    </div>
    For more on CSS pseudo classes:
    http://www.w3schools.com/css/css_pseudo_classes.asp
    Nancy O.

  • ALV: How to make a column color

    Hi.
    How to make a particular column of any one color in
    list dispaly and grid display

    Hi osk,
    1. Row wise color is possible.
    2. Not only the full row color,
      we can also manipulate the color in each cell.
    3.
    IMPORTANT THINGS
    a. Extra field in internal table
    clr TYPE slis_t_specialcol_alv,
    (this field will contain the colour codes)
    b. assign fieldname to alv layout
    alvly-coltab_fieldname = 'CLR'
    c. work area for colour
    DATA : clrwa TYPE slis_specialcol_alv.
    d. Populating the color
    Once again
    Loop at ITAB.
    *********logic
    if itab-field < 0 "---negative
    clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
    clrwa-color-col = 6. <------- COLOUR 0-9
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    endif.
    ENDLOOP.
    5. just copy paste in new program
    6.
    REPORT abc .
    NECESSARY / MUST
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvly TYPE slis_layout_alv.
    ITAB DECLARATION
    DATA : prg TYPE sy-repid.
    DATA : BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE t001.
    DATA : clname(3) TYPE c,
    clr TYPE slis_t_specialcol_alv,
    END OF itab.
    DATA : clrwa TYPE slis_specialcol_alv.
    PARAMETERS : a TYPE c.
    DATA : flname TYPE slis_fieldname.
    SELECT
    START-OF-SELECTION.
    SELECT * FROM t001
    INTO CORRESPONDING FIELDS OF TABLE itab..
    LOOP AT itab..
    IF SY-TABIX <= 5.
    itab-clname = 'C50'.
    ELSE.
    itab-clname = 'C30'.
    ENDIF.
    MODIFY itab.
    ENDLOOP.
    LOOP AT ITAB.
    check itab-bukrs = '1000'
    clrwa-fieldname = 'BUTXT'.
    clrwa-color-col = 6.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    clrwa-fieldname = 'LAND1'.
    clrwa-color-col = 4.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    ENDLOOP.
    prg = sy-repid.
    flname = 'CLNAME'.
    alvly-info_fieldname = 'CLNAME'.
    alvly-coltab_fieldname = 'CLR'.
    LOOP AT ITAB.
    if sy-tabix = 3.
    clrwa-fieldname = 'BUTXT'.
    clrwa-color-col = 6.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    clrwa-fieldname = 'LAND1'.
    clrwa-color-col = 1.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    endif.
    ENDLOOP
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = prg
    i_internal_tabname = 'ITAB'
    i_inclname = prg
    CHANGING
    ct_fieldcat = alvfc
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    minimum
    *CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    it_fieldcat = alvfc
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2
    extra
    sy-uname = 'XYZAB'.
    prg = sy-repid.
    Excluding
    DATA : excl TYPE slis_t_extab.
    DATA : exclwa TYPE slis_extab.
    exclwa = '&OUP'.
    APPEND exclwa TO excl.
    exclwa = '&ODN'.
    APPEND exclwa TO excl.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    it_fieldcat = alvfc
    i_callback_program = sy-repid
    is_layout = alvly
    i_callback_user_command = 'ITAB_USER_COMMAND'
    it_excluding =
    excl
    i_save = 'A'
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    *& Form itab_user_command
    text
    -->WHATCOMM text
    -->WHATROW text
    FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
    slis_selfield.
    BREAK-POINT.
    ENDFORM. "itab_user_command
    regards,
    amit m.

  • How to make true two-color image from scanned rgb image...

    hello...
    I have 50 scanned images from one book, cyan + black, offset. How to easy make new two color (C+K) from this rgb images? If possible to make action.
    sample:

    How to easy make new two color (C+K) from this rgb images?
    Not at all. They need extensive adjustments long before that - they are scanned wrongly to begin with (double-sided must be scanned against a black background), have fingerprints and whatnot. Once you have them cleaned up, converting to CMYK and cleaning up the colors is anotehr matter. Could be as easy as blanking out the yellow and magenta channels, could entail additiojnal extensive work. in any case, it won#t probably be automatic.
    Mylenium

  • How to make Highlighted links color permanent?

    Simply, for example, in Wikipedia, I clicked a link in their page to a different page, then that link would have been highlighted as "has been selected or clicked" with different color (in this case: purple), while links not have been clicked before are in blue.
    The problem is after a few week, the links the I have previously visited before which should have been in purple turned blue again indicating that that I have not visited this link before (but I already have). This seemingly seems like the cache have been reseted or cleared. But I have not cleared any cache. This could also be that the cache is full but I have not set any limit on the amount of content.
    So my question is, how do I ensure that the link that have been visited remain highlighted permanently for the font color so that I do not make the mistake of visiting the linked page again?

    Note that your System Details List shows that you have obsolete, no longer supported, preferences from previous Firefox versions.
    You can delete the prefs.js file and possible numbered prefs-##.js and user.js files to reset all prefs to the default value or reset these prefs to the default value via the right-click context menu on the <b>about:config</b> page or edit the prefs.js file and remove related line(s).
    Your System Details List also shows that you have a user.js file in the profile folder to initialize some prefs on each start of Firefox.
    The user.js file is only present if you or other software has created it, so normally it wouldn't be there.
    you can check its content with a plain text editor if you didn't create this file yourself.
    The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    *http://kb.mozillazine.org/Preferences_not_saved

  • Help! How to make background layer colored

    Hi. I have been reading the help section but can't find my
    answer. Hope someone can help me.
    How do you make the background layer of an image COLORED?
    Especially, how do you make the background a colored GRADIENT FILL?
    For example, on layer #1 I have just an abstract design of shapes.
    I want a background layer#2 to be a separate SOLID fill of color,
    or a gradient fill.
    The only way I have figured out how to remotely do this is if I draw
    a rectangle, then stretch it out to edge of "canvas", then fill it w/color
    but the edges never line up perfectly. Isn't there a better way? Thank you so much!

    Thx for your quick reply.
    Really? Wow, well that is good to know then. I used to use
    Illustrator yrs. ago and now I am kind of re-learning it. I just remembered-
    couldn't one create a layer, then select the "paint bucket" tool, pick a color,
    then fill a background that way? Maybe I am thinking of Photoshop....

  • How to set PS for the most reliable image previews and how to make sure the color spaces are the same across plateforms

    I've been having an ongoing problem with some of my images changing color/luminance values after merging or flattening an image. This seems to most often happen if I use one of the filters (like crosshatch or notepaper, not sharpen or blur). I can make a copy using command/option/shift + E which most often will look exactly like what's on screen.
    Some people have suggested that it's to do with resolution, PS showing me a low resolution image but I don't think so because the histogram changes -- sometimes in a big way, but most often those spikes in the luminance levels are shaved off. Also, when I have the image open at 100% and effect a merge/flatten, the color changes.
    I'd like to know if there's a way to have PS show me one for one what I'm working on while I'm working on it, or if there is a way to control the color profiles when I'm saving. My best guess at this point is that there is a color profile mismatch going on somewhere. I just don't know where to look for it.
    Typically I work in 16 bit, so my color space is set to ProPhoto RGB; my camera is set to the Adobe color space;
    color management policies are set to preserve color profiles;
    conversion options --> intent is set to relative colorimetric.

    But it is calibrated. I use Xrite 1 and update it every month (on the first).
    The colors can be really off. Here's an example.
    https://flic.kr/p/r6A1Zd (what I want) https://flic.kr/p/qc5QTD (not what I want)
    Also, I can't see how the bit depth will have any effect since the change in color happens in PS when I merge or flatten. It's 8 bit through the editing and 8 bit when I flatten it.
    Have you any suggestions on what I can do on the computer side?

  • How to make the font color of Tabs in LinkBar different

    I'm using LinkBar with ViewStack. I want to make font color of one of the tabs different from rest of the tabs. Is it possible?
    I checked the LinkBar's API and found that the color related attributes are for the all Tabs. There is no way to just set
    the colors for only one specific Tab. Any suggestions? Thanks.

    I'm using LinkBar with ViewStack. I want to make font color of one of the tabs different from rest of the tabs. Is it possible?
    I checked the LinkBar's API and found that the color related attributes are for the all Tabs. There is no way to just set
    the colors for only one specific Tab. Any suggestions? Thanks.

  • How To Make Shapes Change Colors When Clicking on them. Example Sheet Sales Data.xlsx template with Excel 2013

    My question is related to the Sales Data.xlsx template that comes with Excel 2013
    IN this workbook is a sheet named Sales Data. It has, 3 shapes. One each for each of the tab sheets in the workbook. When I click on the 'Sales Report' shape it selects the sales report tab. When you do this the shape changes color and the 'Sales Data' shape
    also changes color.
    However I'm unable to figure out how the colors are changing. 
    I don't see any macros in the workbook/worksheet. Nor do I see any code for worksheet events. I don't see any modules in VBA either. I think what is happening is that there are 2 shapes. When you click on one, the one shape goes to the background and the
    other one comes to the foreground.
    I'm no sure how it's doing that. 
    Can someone look at this template, Sales Data.xlsx that comes with Excel and explain how this functionality works?
    Thank You
    Keith Aul
    Keith Aul

    The shapes are exactly as I suspected, each of 3 sheets has 3 'navigation' shapes. The shape with the same name as the sheet has no hyperlink and is coloured differently to indicate it refers to the active sheet. The other two have hyperlinks linked to respective
    sheets. 3x3 shapes, 9 in total, none of them ever change colour!
    It's logical though not necessary to name each shape same as the sheet it links to, but they'd work just as well with their original default names.
    For aesthetics, the shapes that refer to own sheet have a horizontal line on top, actually two shapes as a group.
    If still confused copy each set of 3 shapes to a 4th sheet, or open two new windows so you can see all three sheets at the same time.

  • How to make a one-color fill images with masks in documents from our multiple layers ?

    Hello everyone!
    I`m to open PSD document with same layers. I need to:
    1. Save the jpg file (preview) in a certain place
    2. All layers with masks to make one-color fill instead of images with masks.
    Thanks
    This is way ?
    var theLayers = collectLayers(app.activeDocument, []);
    alert (theLayers.join("\n"));
    function collectLayers (theParent, allLayers) {//---------------------------------------------------
    if (!allLayers) {var allLayers = new Array}
       else {};
       for (var m = theParent.layers.length - 1; m >= 0;m--) {
          var theLayer = theParent.layers[m];
          if (theLayer.typename == "ArtLayer") {
               var bar = new Array;
               bar = theLayer.bounds
               l0= Math.abs(this.app.activeDocument.width - theLayer.bounds[2] - theLayer.bounds[0]);
               l1= Math.abs(this.app.activeDocument.height -theLayer.bounds[3] - theLayer.bounds[1]);
                if((l0+l1)>0) { // layer mask is set
                    // delete this layer
                    //create new layer
                    //create new mask from array bar
                    //fill selection
                allLayers.push(theLayer);
       return allLayers

    I may not quite follow.
    Would you mind posting an example (a screenshot with the Layers Panel visible for example) and an overview of the resulting images you want to produce?

  • How to make the attributes  colors  in oaf pages

    Hi Friends
    This is karna, I want to chage attribute colores in oaf page
    how it is posible \

    try customs CSS.
    or
    use formattedText bean or rawText bean this allows HTML tags through which you can change the color of the attribute.
    --Prasanna                                                                                                                                                                                                                                                                                                                   

  • How to make a clean color mask of Z (depth) blending of layers?

    I  mean if  I have two objects  having its depth info in 32 bit exr.    To put one against another and then get a mask for its color blending   that would render where pixels of top layer higher ( brighter in  its depth info) than corresponding  bottom one.
    Something that would recreate Zbrush 2,5 D layers,     Blender Z combine node  or Fusuion merge node depth option  for depth blending .    Is there a trick to rightfully do so in Photoshop?   Maybe  a kind of blending modes combination ?
    Preferably I would like to get an anti-aliased  mask as Blender does so  and not aliased Fusion's one.

    Looks like  I am able to answer my own question. Here is how it works my way  :    Dropbox - sphere_cube zcombine.psd       You need to have layer selection "by layer" not by group to interactively move things
    If somebody know how to do it more straight way or  how to combine more than two objects in a more simple manner  I would appreciate an input
    ps. Now it needs a kind of quick  SSAO  sceen space ambient occlusion filter to be really useful.   Somebody know one for Photoshop?

  • How to make a round color box?

    Can anyone walk me through the steps in making a round color box?
    Thanks in advance.
    Solved!
    Go to Solution.

    Do you need a color box because you want the user to pick a color or you want the vi to spit out a color? Or do you want the color box for some other reason?
    If you want to make it open a color picker pallette, I don't know of a way. However you could always make a round decoration, make sure it is on the top layer and the refnum for it should be This VI.Panel.Decos[0], and then you can programmatically change it's color via a property node. See attached.
    Message Edited by jaraalmonte on 12-16-2009 03:02 PM
    Attachments:
    colors.PNG ‏11 KB

Maybe you are looking for

  • Is there a way to have two iTunes libraries connect to my iPhone 5s at one time?

    I have an iPhone 5s, I have tons of music on it, connect with an iTunes account joint owned; my Ex and I. Now I made my own account, I want to add the music to my iPhone without lossing the music from my old account.. Is this possible? (Whenever I pl

  • DVD won't play

    I used DVD studio pro after exporting for DVD in FCP7. This created a M4v vid and an audio file. I made a menu in dvd studio pro which then has two medias to choose from, a still and the video. In a computer (a mac) it is playing fine, however I trie

  • Checkbox in table cell won't uncheck

    Hey all, Can someone help with this please. I am using a table model where the second column is Boolean. The table correctly renders this as a checkbox (I'm not using a custom renderer). The checkbox works ok except that you can't uncheck it. You can

  • Doubts in Delivery scheduling

    Hi all, I am unable to understand the delivery scheduling concept. For ex  I am creating a sales order for the material xxx today.Requested delivery date is todays date.there is no stock available for the material xxx today. But there is a purchase o

  • Upgrading from CS5.5 to CS6 Production Premium

    Hello, I am a current student at a University and wish to upgrade my CS5.5 Production Premium to CS6 Production Premium at a student price. Is this even possible? How much is it and where do I go to get it? Thank you