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

Similar Messages

  • How to make a round border around my picture?

    I am trying to design a logo that would fit into the center of a Frisbie, yet I cannot figure out how to make a round border around the picture. I have tried using the eliptical tool, and have also tried using the cookie cutter. The only option I can get to work with the eliptical tool, is the feather, yet I can't change the pixel number for some reason, so it just makes a thin circle around the picture. I thought I could cut and paste it, but the copy and cut options were grayed out and didn't work. When I used the cookie cutter, it made a nice border, and I pasted the picture into it, but, there are four sections that need to be filled in with the background color and the paintbucket didn't work in those spaces (they are the gray and white checked areas. (the picture ends up looking like a rectangle inside of a circle). So I made a new blank file and filled it in with the color of the picture's background, hoping to use the cookie cutter tool around the picture that was now pasted into the new blank file (I chose another color for the round border) and I used the cookie cutter around the picture, but when it was finished, the whole picture ended up being white. All I want to do is to make a border around a picture (a round border). Nothing I have done has worked though. What am I doing wrong, or what are some other options for trying to do this? Thanks.

    Here is a simple way to add a border. Select the item, add a blank layer, choose the border size and color and the Outside option:
    Here is the result:
    Note that you don't even need to do the Stroke on a blank layer. You can Stroke directly on the picture layer. However having the blank layer preserves the picture in case you want to start again with different Stroke options.
    If this is not what you are looking to do, please clarify.

  • Round Color Box (Silver): Slows VI Server Access

    Continued from here:
    Christina (et al),
    I've attached two examples demonstrating the obervation.  I first ran into this because I use a simple flags framework in some of my applications.  If the flag name input is unwired, I auto-name the flag based on the calling VI name.  So, I get a reference to the calling VI and determine a flag name respectively as you can see in the attachment.
    The "Wait for Flag" primitive can be called in a loop as quickly as you like (limited by how long it takes to access the calling VI reference of course).  So, I had an application where the consumer loop had to run in the 100+ Hz range and because the Round Color Box (Silver) was on the panel, I couldn't get this kind of performance.  Switching to the Round Color Box (Modern) solved the issue (but doesn't look nearly as nice).
    The "test color boxes_Rapidly Access VI Refnum" example below is a simplified version illustrating the problem.  The "test color boxes_Wait for Flag" example better represents what I'm actually doing.  Just unzip and run the "test color boxes_Rapidly Access VI Refnum" VI and follow the instructions on the panel.
    Then, unzip and run the "test color boxes_Wait for Flag" VI for an actual use case.
    Thanks for taking a look.  Do you see what I'm seeing?
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs
    Attachments:
    test color boxes_Rapidly Access VI Refnum.zip ‏26 KB
    test color boxes_Wait for Flag.zip ‏93 KB

    The problem here is that the "Silver" style frame draws relatively slowly. In most cases, this isn't noticeable because LabVIEW doesn't need to redraw the frame when the value of a control or indicator changes. But, when the control is an element of an array, LabVIEW does redraw the entire control for each element value change.
    So, for the time being, I'm afraid it's not advisable to use Silver controls (other than the "frameless" ones) as array elements.
    You can see that it's the frames that are causing the slowdown by coloring them transparent so that they're invisible. 
    I'm embarrassed to mention this, but the coloring trick also shows that there's a workaround where you take a picture of the array of Silver color boxes, put it in the background, and then color the frames of the actual color boxes transparent. I'm not saying it to recommend it, just to say that it does get you something that looks the same without the performance problem.
    Christina Rogers, Senior Software Engineer and UX Technical Lead, LabVIEW R&D

  • How to make a round Slider with an image ?

    hello everybody,
    I'm back and i have a new question : how to make a round Slider (like a volume knob) with an image ?
    I see this very interisting tutorial : http://fxexperience.com/2012/01/fun-javafx-2-0-audio-player/ but it use a private class from com.sun.javafx.scene.control.skin.SkinBase...
    thank you for your answer.
    Gaëtan.

    I'm guessing you could subclass Slider to create a class SliderKnob.
    At some stage in the process, not sure where (perhaps after calling super in the constructor), you could look up the slider region's child thumbnail and track and call setVisible(false) and setManaged(false) on them, create an ImageView for your knob, add the knob ImageView to the slider's region and bind the ImageView's rotateProperty to the slider's valueProperty(). Not sure that that is any better than using the SkinBase stuff, but at least it is an alternative idea.
    Everything to create your own controls has not been added to the public API, so if you want to make your own controls in the same way the JavaFX does them (i.e. with Skin's and Behaviours and stuff like that) you have to make use of com.sun classes unless you can subclass and modify the workings of existing controls similar to what is proposed in the preceding paragraph.

  • 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.

  • Crystal Report: How to make the fixed height box in all pages.

    Post Author: WTech
    CA Forum: Crystal Reports
    I want to make the height of box fixed size in all pages. The box in outside the detail section. Currently the size of the box changes according to the content of the detail section. Could anyone suggest me how should i achieve it ?  

    Hi srinivasan,
    If you want to keep "Save" and "Stop" common, Why do you want to keep them on Tab control? Is your tab control taking entire space on Front panel? If so, you can have SAVE and STOP on other vi, and you can call this vi (MODAL).
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • 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 a button appear boxed in when clicked

    For my Prototyping class I have to make an interactive fast food ordering system. I have majority of frames made I just need to add the interactive part to it. I am using AS2 in Flash CS3. I have the picture and the text grouped and are classified as a button. I want to make it so that when the picture or text is clicked it will make a black box appear around it, making it 'selected'. I've tried to add an Event Listener but couldn't figure out how to make the box appear on it. Any suggestions?
    These pictures are basically what I'm trying to accomplish.
    Keep in mind, I'm a Flash newbie, I have a probably 3 hours experience with Flash.
    But I do have knowledge of basic Java commands, so I can understand code.
    Thanks,
    Dudejoe04

    Onw way would be to create the buttons as movieclips so that when they are selected you move the movieclip's timeline to a rame that shows the rectangle around it.  Another way would be to have the movieclips as separate objects that you make appears when its associated button is clicked.  There are likelynumerous other possibilities.

  • How do I create multi colored boxes using CSS3

    OS - Windows 7 using DW Cs5.5
    I need to create a screen with lots of equally sized colored boxes with text colours that will be visible easily within them.
    I have a class set up as follows:
    .yellowbox {
        font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
        font-size: small;
        color: #F00;
         background-color: #FC3;
        text-align: center;
        vertical-align: middle;
        margin: 4px;
        padding: 4px;
        clear: none;
        float: left;
        height: 10em;
        width: 30%;
        position: relative;
        border: thick solid #F00;
    This displays a box that is yellow with a red border.
    With a set of 9 divs of this class, I get 9 boxes arranged as a 3x3 grid in a 960px wide container.
    How do I modify the CSS so that the background color changes with each box, and the text color is always in a color that is readable?

    First change the CSS as follows
    .box {
        font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
        font-size: small;
        color: #F00;
        text-align: center;
        vertical-align: middle;
        margin: 4px;
        padding: 4px;
        clear: none;
        float: left;
        height: 10em;
        width: 30%;
        position: relative;
        border: thick solid #F00;
    .yellow {
       background-color: #FC3;
    .blue {
       background-color: blue;
    Then use the following markup
    <div class="box yellow">
    or
    <div class="box blue">

  • How do I keep round cornered boxes when opening CS4 to CS4

    I produce a lot of forms which have round cornered boxes within the text boxes, when opening these indesign CS4 files into CS5 the boxes lose all but one of the round corners. The only fix I can see is to manually adjust the boxes within CS5. Is there an easier way? or will an update improve this. I find this very frustrating as I only have about 700 forms produced which will all need to be fixed.
    Please help!

    I sympathise, it's exactly the problem with upgrading.  I don't think Adobe cater for the user with 1000's of files very well,
    Well, Stix, I don't think they cater to small users with thousands of files. I'm sure that if my organization was buying hundreds of licenses for the full Creative Suite, and maybe LiveCycle Server, that they might be able to cater to me. But since we're only buying 1 license of the Suite and 4 of InDesign, then the fact that I have an archive of tens of thousands documents in forty languages going back to the early 90s that have to be updated on an intermittent basis, is not really high on Adobe's list of things about which it is important to care. My file management needs, while totally critical to me (and by extension the refugees I serve), aren't going to be that important to Adobe. They don't cater to me, and I can understand this, as I am not a big revenue stream for them.
    Wow, I'm flabbergasted! who knew that I would need to do this??
    However, the fact that it seems that only the forums regulars know  these critical facts is a massive failing on Adobe's part. I fail to  understand why this stuff that we post over & over again isn't  pointed out to the users when they install ID, or when they open a file  that was created in a previous version of ID. Seems like a  mind-numbingly obvious case for one of those little checkboxes that says  "Don't show me this again." Illy seems to handle this without issue.
    my documents are of a style whereby I may need to make changes to two 
    words in a document created in Indesign from 2004, are you suggesting  
    that I need to keep all versions of Indesign for evermore and only use
    the program that created the document to open/edit? This is a very
    impractical solution.
    As Bob has already pointed out... yeah. It's impractical, but it is also a solution.
    In your shoes, I'd mention to your IT folk that your long-term IT plan should include keeping some old apps around in virtualization; that way when InDesign CS10 reflows your document created with CS6 when you just want to update a logo, you can just boot up your image of Windows 2012 End-Of-The-World-Edition without needing IT to help you out.

  • 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....

Maybe you are looking for

  • Post Goods Receipt before putaway

    Hi Experts, We're planning to implement SAP WM of SAP ECC 6.0. We're using inbound delivery for our goods receiving into the warehouse.  The process steps  that I found out from the SAP document is as follows: 1.  Create inbound delivery 2.  Pack if

  • CF8 - pdf files do not display in a browser

    We are setting up the multiple instance capability using jrn4 with cf8, with apache 2.x on Redhat linux 5.X. For the when browsing to the main cfusion instance I can see pdf files but if I go to the document root of an instance, pdf files are not dis

  • A line on the screen..

    There is white line on my screen  when i turn of my mac......What is the problem and what should i do ?

  • What type headset with mike works with mac mini

    HI I have a mac mini and trying to find a headset with mike so that i may make a video with sound and eventually up load to u tube.The back has two holes but I   can't make out if I need a two wire headset or one. any help would be greatly appreciate

  • Harman Kardon

    OK I'm about to give up and abandon my prejudice for surround sound. I suppose I can still listen in stereo and at least the kids have the option of using it when I'm not there. Someone has told be there is a Harman Kardon receiver in cash converters