Enable user to choose pick color from color palette

hello, i have a program that uses the color-matching function. when the program runs, i want to allow the user to choose a color from a color pallete and then this color should be matched
with the colors in images. i use "imaq setup match color pattern" and  "imaq color pattern" functions which use templates  as an input and these templates have to be manually assigned before run.
is there a way to allow the color palette to act as a templete input???
thankyou 

Sure,  Put a color box control on the front panel.  It is located in the numeric palette.

Similar Messages

  • Flash 5.5 on Lion crashing when choosing a color from color palette?

    When coloring an animation, Flash crashes on me every 3 minutes or so, when picking a color with color picker (first displaying wrong color). Or when choosing a color from color palette or color popup in a tool. It sometimes works, but often crashes when doing one of these things.
    Is there a fix for this i didn't find?

    When coloring an animation, Flash crashes on me every 3 minutes or so, when picking a color with color picker (first displaying wrong color). Or when choosing a color from color palette or color popup in a tool. It sometimes works, but often crashes when doing one of these things.
    Is there a fix for this i didn't find?

  • Why do I only see grayscale values when I add color from color picker? This happens occasionally, but I don't know what triggers it.

    Why do I only see grayscale values when I add color from color picker? This happens occasionally, but I don't know what triggers it.

    We can't know. You have not provided any system information, not told us what version of AE, details about your artwork, color management and whatnot.
    Mylenium

  • How to make a dialog box for a user to choose a file from disk

    Hi there
    Is it possible to make a dialog box, for a photoshop user, to choose a txt file, to be process by my javascript ?
    I have a txt file with all the names and locations of psd files i want to process by photoshop. I have ex. 100 out of a folder with 250 images.
    If anyone have a shot "code sample" how to select a file - i will be happy.
    /T

    Here is an example of selecting a text file...
    var dlg=
    "dialog{text:'Script Interface',bounds:[100,100,500,220],"+
    "testFile:EditText{bounds:[10,40,310,60] , text:'' ,properties:{multiline:false,noecho:false,readonly:false}},"+
    "Browse:Button{bounds:[320,40,390,61] , text:'<<' },"+
    "statictext0:StaticText{bounds:[10,10,240,27] , text:'Please select Text File' ,properties:{scrolling:undefined,multiline:undefined}},"+
    "Process:Button{bounds:[10,80,190,101] , text:'Process' },"+
    "button2:Button{bounds:[210,80,390,101] , text:'Cancel' }};"
    var win = new Window(dlg,'test');
    win.center();
    win.testFile.enabled=false;
    win.Browse.onClick = function() {
    selectedFile = File.openDialog("Please select TEXT file.","TEXT File:*.txt");
      if(selectedFile != null) win.testFile.text =  decodeURI(selectedFile.fsName);
    win.Process.onClick = function() {
    if(win.testFile.text == '') {
      alert("No text file has been selected!");
      return;
    win.close(1);
    selectedFile.execute();
    win.show();

  • It's possible to disable custom color from color picker?

    Hi guys!
    I've searched in the threads about color picker but I found anything about it...
    It's possible to disable the option to select a custom color? I work in a enterprise who makes softwares to brazilian clients, and not everybody understands english phrases...
    Another way it's to translate the option, but I don't know if is possible too.
    Thanks!

    You definitely need to add the stylesheet to the Scene, not to anything else. If you take my example and change
    scene.getStylesheets()...
    to
    root.getStylesheets()...
    you'll see that it won't work any more.
    The difference between this and the css you used is that the css you used is applied to the display of the color picker button; you need to apply styles to the popup (the color palette), which is not contained in your VBox or AnchorPanes. Notice how the font has changed for the name of the color in the button, but it hasn't changed for the "Custom Color" label you are trying to remove.
    Somewhere there is some code that is adding the VBox you are subclassing to a Scene, and setting that scene into a stage. Your best option (perhaps second best option, see below) is to find that code so you can add the stylesheet to the Scene itself.
    If you're working within a framework someone else has written, and can't access or change the code where the scene is defined, you have another option that I can see. Every Node has a scene property that refers to the scene to which that node belongs. So you could observe changes to that property and when it's updated, add the stylesheet to the scene.
    So here is a hack to make my original hack work, in the event that you cannot access the scene directly, for some reason:
    final String suppressCustomColorCss = getClass().getResource( "noCustomColorPicker.css").toExternalForm();
    colorPicker.sceneProperty().addListener(new ChangeListener<Scene>() {
    @Override
      public void changed(ObservableValue<? extends Scene> observable,
      Scene oldScene, Scene newScene) {
      if (newScene != null) {
      List<String> cssClasses = newScene.getStylesheets();
      if (!cssClasses.contains(suppressCustomColorCss)) {
      cssClasses.add(suppressCustomColorCss);
    This code basically says "when the color picker becomes part of a new scene, add the stylesheet to that scene".
    At this point, you're applying hack on top of hack to get the effect you need. I think if I were in this situation I would just go ahead and define my own color picker. All you really need is a MenuButton, a property to hold the selected color, and a popup with a layout of controls to choose an arbitrary color. It would be a bit of work, but shouldn't be too hard. If you take this option (which I think may be your best bet), it's more work now but it will be clear what you are doing - when you (or other programmers on your team) come back to the code later you'll understand how it works much better.
    You should also file a couple of feature requests. One for API to enable/disable the option to choose a custom color, as this seems like a reasonable piece of functionality to have. The other should be for properly internationalized text for the labels in the color picker, as these are currently just hard coded into the source code in English.

  • Enable USER to choose output type

    Hi all,
    General question. Is it possible to have a single report have an output in several types (.txt,.pdf,...) depending on the user's wishes?
    If so, outlining the steps to do this would prove very helpful. Right now we have things like
    Report1 -- txt format
    Report1 -- pdf format
    So you can imagine that this change could be very helpfull

    Hi,
    You can use distribution for this purpose. Report distribution enables you to design a report that can generate multiple output formats and be distributed to multiple destinations from a single run of the report. To distribute a report, you first define the distribution, then enable the distribution.
    For more information about distribution, please see Section 2.8.3 "About report distribution" in the Building Reports manual. This manual is at
    http://download-uk.oracle.com/docs/html/B13895_01/toc.htm
    See also Chapter 15 "Creating Advanced Distributions" in the Oracle Application Server Reports Services Publishing Reports to the Web manual. This manual is at http://download-uk.oracle.com/docs/html/B14048_01/toc.htm
    Hope this helps.
    Regards,
    Panna

  • User Exit Variable picking values from InfoProvider

    Hi,
    I've created a User Exit variable (of type Interval, Mandatory) on 0CALMONTH and populating it in exit.
    The problem is at the time of query execution, I get "BRAIN 657" error i.e.  "Value <value> is Invalid for Variable <variable name>".
    After doing some analysis I figured out that once the user-exit code is performed, system validates the entries populated in this Variable against the values in InfoProvider and gives error when it doesn't find those values.
    E.g. lets say InfoProvider has values for 0CALMONTH from 06.2010 till 10.2010 and if I populate my variable with range 03.2009 till 12.2010 then it throws above error. But if I populate the variable with exact values i.e. 06.2010 till 10.2010 then it works.
    Any idea how can I remove this validation and populate with my own value range?
    Regards,
    Vikrant.

    hi remove that default value from the variable.
    and you shd be able to run the query without any problem.
    regards,
    VJ

  • How to get name of color from Color class

    Hi there,
    I'm just starting my adventure with java and just on the beginning of this trip I found some issue.
    How to get something like this:
    String getColorName(Color var) { ??? }
    String test = getColorName(Color.RED); // test = "red"; or test = "RED";Thank in advance for some constructive ideas

    profidancer wrote:
    dcminter, would You say it in other words, because I'm not following You.
    Do You mean by that to create class like below with some connection inside ??
    public class ColorMap {
         private String name;
         private Color color;
    public String toString() {
         return name;
    I suppose that's one way to do it. Or you could just use the [Map |http://java.sun.com/docs/books/tutorial/collections/interfaces/map.html] interface.
    Another option is to simply make the JButton the color it represents, instead of displaying some String with a color name. That way you could support any color pretty easily.

  • How do I remove saved colors from color palette?

    If I open the color palette in Mail there are several I have saved at the bottom, in the little squares below the color circle. Some are duplicates or ones I don't want any more. Yet I cannot get rid of them. Can't drag them off and can't find a way to eliminate them. Does anyone have an idea about this?
    Thanks,
    Richard

    Richard & Jeffrey,
    Thank you for posing the question and answering it. It is just what I wanted.
    Now one more thing Jeffrey - to put the icing on the cake(!)... can I name that saved color? I've tried clicking on it, but nothing happens.
    Thanks
    Geraldine

  • Mail 8.2 is not enabling me to choose a signature from "All Signatures", even though the signature is listed.  Anyone have a solution for this?

    This is just one of many problems I've encountered since "upgrading" to Yosemite... including the unexpected necessity to purchase a whole new MS Office for Mac Suite!  Now, in Mail, my previously automatic signature has disappeared, and despite following all on-screen instructions (Mail > Preferences > Signatures), "Choose Signature" reads only "none" and will not let me select any of the signatures that are contained in the signature windows above.  It is extremely frustrating to have to type signatures into every outgoing email.

    ok, i've just run a specific test.
    1 - Online, ensure that mail is sync'd
    2 - Disable network connection, confirm that mail has moved to offline mode
    3 - Delete 20 messages in a folder
    4 - Conifm they have been deleted (whilst still offline)
    5 - Re-enable network connection, leave machine alone for 5 minutes
    6 - Confirm that messages haven't been deleted and are still in the folder untouched
    7 - Whilst still online, try to delete one or more of the messages, they vanish for a moment, then re-appear
    8 - ***
    Can replicate this at will......surely this isn't just me?
    Seems I'm back to Outlook again

  • OWA is not allowing a user to choose a recipient from the list that pops up when she types a letter or two in the To or CC Box

    The user is using Windows 7 Professional, and IE 9.0.  The problem started 2 days ago.
    I saw a similar issue mentioned in this forum, the suggestion to remove S/MIME is not an option because it is not installed on her machine.
    I have tried multiple clicks which puts a big blue box around it (like for copying and pasting) I can then copy and past the address into the To or CC box. 
    I have tried permanently deleting all her unpermanently emails, that has not helped.  She is using the Global list.  She can see the possible choices for recipients just fine; however, clicking on one does not select it and/or pop the recipient
    into the To or CC box.
    Patricia Startz

    Hello,
    Does this issue occur in other web browsers, like Firefox or Google Chrome?
    Thanks,
    Simon

  • Removing Color from messages

    Hi I am wondering how you remove the colored text of certain emails. I set a rule to color certain emails blue, but then when I didn't want it and deleted it, the color remained... Does anybody know how to get rid of the color even if I have no rules? Thanks!

    You will need to make a rule. Set the condition to every message, and the action to set foreground color to black (you will need to select other, then pick black from the palette). Turn off all rules except this one. Exit from the rules, without applying, then select the messages you need to change and use menu Message/Apply Rules. Go back to the rules preferences and delete or deactivate the rule.
    AK

  • End User will build the report by himself by choosing the columns from tabl

    We are using Oracle 10g Application server (Forms and Report Services), Forms and Report., our most urgent requirement is End User have to build the required reports by him Like wizards style, (Example Adhoc, MIS reports)., More clear, from the form we want to show all the tables structures, queries, after that end user will choose some columns from the form and specified the condition by himself to run the report after that he will press start button , then automatically report has build for the selected columns from the end user., and this report is parmanent afterwords., he can use any time.
    Like this kind of report building is possiable , anyone has faced same situation.

    Yes it is.
    In BW, this can be achieved by using document management. The option will be available to the user via context menu in the report (goto-->documents - text/pdf/img etc). In your case user can choose to create/change/display a 'text' document, which will be attached to the report.
    cheers,

  • Choosing a folder from the hard drive

    Hi
    I need to allow the user to choose a directory to save a logfile to from a Business One form that should get launched when they click on a browse button. I have currently got the below code which is located within the the ItemEvent.
    Dim FolderWindow As New Windows.Forms.FolderBrowserDialog
    FolderWindow.RootFolder = Environment.SpecialFolder.MyComputer
    FolderWindow.ShowDialog()
    The FolderBrowserDialog window does appear however there is nothing shown where the folder directories should be so therefore not allowing for a directory to be chosen. If I however copy the exact same code and place it into the sub Main for example it works OK.
    I've had a look around the forum and theres a couple of people who look as if they've also had this problem but there's no fixes given. Does anyone know why the folders aren't being shown or another way I can allow the user to choose a directory from the Hard Drive?
    Thanks
    Steve

    Hello Steven
    In the last year i have published a solution in c# and vb.net which is working properly.
    you can donwload a simple source from:
    http://www.progi-tech.hu/ShowFileOpenDialog.zip
    before you call the browser window, you can tell the .NET to Acess to the filesystem by the following .NET code
    Dim f As New FileIOPermission(PermissionState.None)
    f.AllLocalFiles = FileIOPermissionAccess.AllAccess
    Regards
    J

  • Choosing colors with eyedropper-it picks as background color

    Confused!
    I have read the help and viewed   a Jan Kalibi tut on using the color picker and painting. The instructions say that the eyedropper tool is supposed to choose the foreground color, but...
    If I choose the Eyedropper tool  it is  choosing and setting the background color instead of the foreground unless I hold down the alt key when the eyedropper tool is selected.
    When using the brush tool I am supposed to be able to hold down the I key to temp move to the Eyedropper tool and select the new foreground color and upon release the tool resets to the brush, but once again the eyedropper is setting the background color instead, and the only way  I can change colors is to use the X key to switch the backgroung to the foreground color???
    The only way I can get the Eyedropper tool to pick the foreground  color is to actually select the Eyedropper and hold down the alt key or if in a brush choose the I key hold it and choose the alt key at the same time which is quite akward .
    Is there something wrong here or is it me.
    No matter what combination of keys I use with the HUD color picker it will only set the background color choice and I have to use the X key to switch it to the foreground.
    I thought it might be a problem connected to using the Open GPU  settings but turning that off doesn't change the general problem.
    Thanks in advance
    David

    Do this:
    Click Window - Color to bring up the COLOR panel.
    Note the black border around one of the two color icons at the upper left.  It's a little darker than the other one.  I'm betting you have it on the lower-right one - the Background Color.
    Click the foreground color icon at the upper-left to move the black border there.  This will cause the foreground color to be sampled with the unmodified eyedropper tool from here on.
    -Noel

Maybe you are looking for