How to use RGB in GanttBarStyleEdit?

I use a script based on GanttBarEditSyle to set up standard bar styles.  The problem is that this apears to be limited to the 16 basic pjColor colors.  But if I use the menu, I can assign any RGB color.  Is there any way to change the bar
color in VBA to any RGB value??

jack n birkdale,
Sure, use the RGB function to define the various gantt bar item colors. For example, the following will format the first bar style with a green start symbol, a red bar and a blue end symbol:
GanttBarEditEx Item:="1", StartColor:= RGB(0, 255, 0)
GanttBarEditEx Item:="1", MiddleColor:=RGB(0, 255, 0)
GanttBarEditEx Item:="1", EndColor:=RGB(0, 0, 255)
Hope this helps. If this answers your question, please mark it as the answer.
John

Similar Messages

  • How to use IMAQ Bayer To RGB ?

    Hello everybody.
    Could you please tell how to use IMAQ Bayer To RGB. I read from help that we need Bayer Parameters. But in help haven't structure of Bayer Parameters. I find any example of IMAQ Bayer To RGB and Bayer Parameters in Labview
    Thank you for reading my poor english and help me !
    Solved!
    Go to Solution.

    Hello,
    What kind of camera bus are you using? (Camera Link, GigE, FireWire, etc.)  When you acquire an image in MAX does it appear to have the bayer grid?  Have you tried adjusting the bayer color of the camera in MAX?
    There are two examples shipped with Vision Acquisition Software that show how to perform Bayer decoding one for NI-IMAQ and the other for NI-IMAQdx.  If you open up LabVIEW's example finder by going to Help >> Find Examples  you can search for Grab With Bayer Decoding.vi or Grab and Bayer Decoding.vi.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • 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

  • Where to locate and how to use the filter thershould to binarized image

    Good morning friends. I am using
    Labview with VDM and let me know where to locate and how to use the
    filter thershould. Also that parameters used to binarized image captured
    via webcam and display it in black and white.
    Thank you very
    much.

    Is the image that you are getting a RGB one? Use color plane extraction and then use a binary threshold to convert it into a binary image. You can also directly use a color threshold and convert a rgb (color) image to a binary image.

  • How to use color chart in FCX

    How would I use a color chart in FCXP?  I used to color correct using RGB values but FCXP doesn't show RGB.  How do others do it?

    I'm a lazy hobbyist, no Macbeth in use, but I bought for cheap  a White Balance plug-in from fcpeffects.com
    (they constantly offer discounts, if I remember correctly, I paid 19$).
    Then, it adds a color-picker in FCPX:
    ... if this is what you're looking for.
    Plan B)
    Use a roundtrip to DaVici Resolve, which is perhaps better suited for professional color correction than a 19$plugin
    The nice automatisms to fetch&match a Macbeth-board like other color-correction tools offer, we still have to wait for… maybe Mr Riddles forthcoming Color Finale has that feature? Next week we know...

  • How to use ICC based colorspace

    hello,
    The question is how to define a color in ICC based colorspace ?
    I tried with gState.strokeColorSpec.value.color array and it work fine when my CIE based colorspace is CMYK but how to do it when colorspace can be CMYKOG or RGB ... ?
    Regards,
    William

    You can certainly use Cos to create the ICC colorspace (or the alternate) just as you did for the DeviceN.
    Cos is just a wrapper over direct PDF objects – so read the PDF standard for what the objects you need are, then make the relevant calls.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 20 Oct 2011 03:03:46 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: how to use ICC based colorspace
    Re: how to use ICC based colorspace
    created by yokuju<http://forums.adobe.com/people/yokuju> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3981410#3981410

  • How to use layer masks to separate line art from white background

    How to use layermasks to separate line art from white background

    Probably better to use Blend modes rather than a layer mask.  Try setting the blend mode of the line art layer to Darken for instance.  If you do want to use a mask, take a look at individual channels, and copy the channel with the best contrast.   Then load the selection  of that copied channel, select the line art layer, and add the layer mask.  You will probably need to invert the mask. You will probably find that the line art is a greyscale image, and need to go to Image > Mode > RGB before you can use Channels.

  • What are the ranges for correct skin tones using RGB%?

    What are the ranges for correct skin tones using RGB%?  Used to using a scale from 0 to 255.  But with LR it's RGB  , I know 100% RGB is white.  What do you use for %?

    While I whole heartedly agree that we should not be constrained to hard and fast numbers for accurate skin tones ... LR does offer an RGB color readout ... I am assuming they made those percentages available for the user to monitor the breakdown of specific color values for a reason ... so we could have an indication of how a specific color in an image will be reproduced ...
    I liken this to using a speedometer ... while many experienced drivers in well tuned vehicles can travel on the highway at the prescribed legal speed limit without really monitoring the readout on the dashboard ... however, there are times when they would like to verify the speed at which they are traveling ... the RGB color percentage readout in LR is no different ... just a source of information to verify you are achieving what you desire ...
    Again, going by specific numbers in this instance, I believe, could lead to problems ... there may be times when you may desire or actually need to adjust skin tones ... even though a pleasing WB has been achieved ... the relationship of R, G and B can be used to get you there.
    From what I have researched and put into practice with LR the following seems to be a good starting point and the data was borrowed from "the pixelation" blog:
    R: highest %
    G: middle %
    B: lowest %
    To get a little more specific. In general,
    R: Y + (15-20)
    G: average of R and B
    B: R – (15-20)
    For example, the following values represent common Caucasian skin tones using the rules above:
    * R: 80%; G: 70%; B: 60%. R is 20 points higher than B, and G is midway between R and B. That’s perfect.
    *  R: 86%, G: 78%; B: 70% also reflects a nicely balanced skin tone.  Again, G is midway between R and B, and R is 16 points higher than B. This, too, illustrates a great relationship among the colors.

  • RGBImage filter, how to use?

    I found this piece of code on an old forum post.. supposively I can use it to filter an image in any color
    I choose..
    I just dont know how to use it.. Could someone whos more experienced with Image filtering, show me
    how this code was intended to be used by another class? I have the image I just dont know how to apply this to it..
    Thanks (sorry I'm new to filters).
    THANKYOU!!
    * Creates a RGBImageFilter  that change
    * the image to the desired color.
    class ColorFilter extends RGBImageFilter {
         * The hue to which the image should changed.
        private float hue;
         * Creates a new ColorFilter that change the
         * image to the Color c.
         * @param c the Color to which
         * the image should be changed
        public ColorFilter(Color c)
            float[] hsb = Color.RGBtoHSB(c.getRed(), c.getGreen(), c.getBlue(), null);
            hue = hsb[0];
            canFilterIndexColorModel = true;
        public int filterRGB(int x, int y, int rgb)
            float[] hsb = Color.RGBtoHSB((rgb >> 16) & 0xff, (rgb >> 8) & 0xff,
                rgb & 0xff, null);
    //change the pixel to the new color
            hsb[0] = hue;
    //add the transparency of the pixel and return it
            return(Color.HSBtoRGB(hsb[0], hsb[1],
                hsb[2]) & 0xffffff) | (rgb & 0xff000000);
    }

    Image src = getImage("doc:///demo/images/duke/T1.gif");
    ColorFilter colorfilter = new ColorFilter(Color.color);//whatever color
    Image img = createImage(new FilteredImageSource(src.getSource(),     colorfilter));
    Is that what you mean?? I'll try it when I get a chance.. THANKS!!

  • Error Compiling when using RGB Color Corrector and Unsharp Mask

    If I apply the RGB Color Corrector and and Unsharp mask to a clip within a sequence and try to render the sequence or a small portion of the work area I get the Error Compiling: Unknown error.
    This is occurring within a project I have updated to Premiere CS6 from Premiere CS5. 
    I have tried creating a new sequence and importing the same clip and other clips.  Anytime I try to use both the Unsharp Mask and RGB Color Corrector I am unable to render.  I have tried this with Mercury Playback both in hardware and software modes with the same result.
    Has anyone else seen something like this?

    Okay, glad this occurs for others too and I am not experiencing something isolated. The issue here is this shouldn't be happening at all. 
    Premiere CS5 has no problem with this.
    Yeah if I turn off one effect or the other no problem.  Unfortunately it doesn't matter the order I place the effects in I get the same error regardless of which is placed first.
    Nesting does work.  If I create a sequence, apply one or the other to the clip in the sequence then embed the sequence in another sequence and apply the remaining filter to the sequence containing the clip then I can get my color correction and edge definition.  But this is a work around. 
    There seems to a bug here since there were no issues when using RGB Color Corrector and Unsharp Mask simultaneously applied to one clip in CS5.  I doubt there will be a fix for this anytime soon so it looks like I will have to use another method for color correcting or apply RGB color correction to clips already embedded in a sequence as I move forward into solely using CS6.
    (How this can become an issue is that after applying effects and color correction to several clips within a sequence I like to render that entire sequence.  Then this sequence is ebedded in another main sequence and I can add additional effects and transitions and overlays without killing the live playback speed and only have to render smaller amounts of content from additional tracks.  It ends up saving a lot of time after the initial length of rendering.)
    Thanks for the suggestions.

  • Photo labs Embedded Profile--How to use ?

    i have the colors of the image the way i want them on my monitor
    i assign the print labs profile - the colors shift to somthing i don,t like
    my question Is this the file i should take to the lab or do i then have to work
    on my colors again trying to return them to what they were before i assigned the
    profile ?

    Lambda's (and Lightjets) are notoriously lacking in the ability to print certain colors, so, if it's in the range of colors where the Lambda is deficient, you might very well see a big color or tonal shift even when you convert to their profile.
    How the profile was made can be critical to how well it performs in the real world. The software package and the specific settings, as well as how the target was read, can all make a big difference, not even to mention rendering intents.
    Assign profile can be useful in determining just how close an output device is to your RGB working space and how much work the profile is going to have to do when it does convert the pixel values, but it's generally best left to those who understand when and how to use it.
    If your working space happend to be something really wide like ProPhotoRGB, and you have large areas of saturated colors, then I wouldn't be at all surprised to see you running into problems with a Lambda.

  • How to use linear fit

    Anyone here to help me how to use the linear fir vi?
    Is this vi capable of analyzing a line with a negative slope?
    What shold i input in this vi? I tried connecting my x and y arrays in this vi but still outputs nothing. Is there a bug on this vi?
    Is there a way to fit a line in my data points like what excel does?
    Thanks again for helping me numerous times.
    Brein
    Stuck again

    Brein wrote:
    This is my vi. I am using labview 7.0 and vision 7.0. This project is about finding a relationship between concentration of a certain solution and its color value using rgb space. I am already able to plot the relation ship found in sequence structure 3 of 3(assuming the first sequence is 0 of 3). How to put a linear fit in my data points?
    So you need to do a global fit to three datasets (R, G, & B). Since you seem to deal with a greyscale image, it is probably sufficient to fit only a single channel. What function do you use in excel?
    Sorry, I don't have the vision module. Can you strip down your VI as follows:
    create indicators on the three orange arrays in frame #2. (right-click wires, create indicator)
    Run the VI so the indicators contain data.
    Turn the indicators into diagram constants (right-click..change to constants). Wires will be broken, leave them broken!
    Save the VI under a new name and attach it again.
    I am quite busy today, maybe I can look at it tonight if nobody else gives a solution.
    LabVIEW Champion . Do more with less code and in less time .

  • How to use one email adress for multiple recipients

    Hello,
    I'd like to know how to use one email adress for multiple recipients. 
    this would be very useful or projects. for example;
    if i send one mail to [email protected], all people in this project get an email.
    I will add the people in this project myself. 
    I know it is possible, but I don't know how to do it ;-)
    please help me! 

    Hope this help.
    _http://technet.microsoft.com/en-us/library/cc164331(v=exchg.65) .aspx

  • Can't figure out how to use home sharing

    Since the latest couple iTunes updates, my family and I can not figure out how to use home sharing. Everyone in our household has their own iTunes, and for a long time we would just share our music through home sharing. But with the updates, so much has changed that we can no longer figure out how to use it.
    I have a lot of purchased albums on another laptop in the house, that im trying to move it all over to my own iTunes, and I have spent a long time searching the internet, and everything. And I just can't figure out how to do it. So.... how does it work now? I would really like to get these albums from my moms iTunes, onto mine. I would hate to have to buy them all over again.
    If anyone is able to help me out here, that would be great! Thanks!

    The problem im having is that after I am in another library through home sharing, I can't figure out how to select an album and import it to my library. They used to have it set up so that you just highlight all of the songs you want, and then all you had to do was click import. Now I don't even see an import button, or anything else like it. So im lost... I don't know if it's something im doing wrong, or if our home sharing system just isn't working properly.
    Thanks for the help.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

Maybe you are looking for

  • Is there any way to stop the output of the iMac display to a connected TV?

    I just bought an iMac 21.5 and successfully connected it to my plasma HDTV using a Mini Displayport to HDMI adaptor and HDMI cables. Ideally, I would like to have the HDTV set up as a second display for watching movies, rather than mirroring the two

  • Configuration accounts receivable & payble pdf

    Hello All, can you give me please configuration document Accounts receivable & payble & detail screenshot.which useful for me Thanks & Regards. Shialesh.

  • Enqueue/dequeue problem

    Hi, I created lock object "ez_z001" for the table "z001", called function module "enqueue_ez_z001" to lock the record, and the the return code  sy-subrc = 0, but I still can edit the record in another session/program. Please kindly advise what the pr

  • Color crashes on launch

    Hi folks, I'm having problems with Color constantly 'quitting unexpectedly' on launching. It generally quits just before you see the first image displayed on the scopes / screen, and before the thumbnails in the timeline appear. A couple of days ago

  • Replacement for FM DD_PR_GET_STATUS

    Hi all, Can anyone please let me know if there is any replacement for FM DD_PR_GET_STATUS as it's obselete. Thanks Ravi