Change Color of Line Object

aLine.border.edge.color.value
="207,29,3";
This doesnt work.. any suggestions?

One last thing.
On Initialize of the Parent Subform a Table belongs in I change the Header Fill color based on a variable.  Other instances of this Table gets added with a button click.. everything works find interms of the add.
When I change the color though the new tables added do not take the new color of the initialize event.
Is there a way I can do it on the add event?
this.parent.instanceManager.addInstance(1);
this.parent.instanceIndex< ??? >.execInitialize();

Similar Messages

  • Need to change colors of lines in an Omniportlet Line Chart

    I am running Oracle Portal on a 10g Web server. I have created an Omniportlet and I am displaying data in a line chart. Is it possible for me to define the colours of the lines in the linechart?

    Hi I didn't changed colors in line chart but I managed to redesign lot of omniportlets.
    What you can do is to re-define CSS.
    Add an HTML portlet in your page with some CSS embedded.
    To catch wich class are to be re defined, I recommand you to use firefox with the extension Webdevelopper.
    Use the "Informations - display element information" functionnality to catch wich class are used for your chart.
    Then redefine those classes in your custom CSS.
    Hope that will help

  • Can I change color of all objects at ones ?

    Hello guys
    I understand that's very fundamental question, and I promise I search the forum prior to posting, but perhaps it's my bad english and wrong phrasing, that leads to poor results. So if that has been discuss, please kindly don't waste your time, just link me to the post and I will read away.
    I have very complex file, with hundreds of paths, shapes, text, outlined text,  etc... It's a brochure with graphs, scematich drawings and text.
    Last moment, the client like the reverse the colors from (current) Black on white, to all White on dark gray background.
    Problem is, I can't seem to find easy way to just change the colors, without selecting one by one, every single object. When I selest all and choose white, it start filling paths with solid fill... Editing it wastes allot of my time and I have many pages to do.
    Is there any way to simple change color of everything at once, just from black to white ? Or do I have to go object by object manually ?
    Thank you very much, for all the help so far, and I'm sincerly sorry to waste your time if that has been covered previously.
    Good day
    ciao ciao
    Monika

    Thank you both for such prompt follow up. I know it's just typing and it's easy but I sincerly mean it. Thank you.
    The INVERT work on some images.
    The "SAME" seem to work funny way. When I select STROKE COLOR, it does nothing, but when I select WIGHT then it does and in fact I'm able to change lots of strokes at once with ease. Even tho I'm left with few small bits here and there which I need to change manually, it is certainly far better than doing one by one.
    Thanks a lot for the help, it's what I was looking for.
    By the way   I not once used the SAME menu. Feel so lame, given I use AI (not daily but often) for few years now... Shame.
    Thank you and you guys have a great day
    xoxo

  • Changing color of lines in line chart

    Okay this is a dumb question but how do I change the color of
    lines in a line chart?

    "spacehog" <[email protected]> wrote in
    message
    news:g81g1a$eq4$[email protected]..
    > Okay this is a dumb question but how do I change the
    color of lines in a
    > line
    > chart?
    http://www.rphelan.com/2008/05/23/taking-control-of-flex-charting-styles/

  • CS4: Change color of line indicator/outline tool (not line itself)

    I couldn't find an answer in any of the resources - possibly because I don't know the right term.
    I am talking about the line that is displayed during the period that you draw a line - from the time you click the mouse, until you release it. There's a thin greyscale line indicating the outline of the item you are drawing.
    I'm working on ultrasound images, full of greyscale spots. In order to draw lines as precisely as possible, I would prefer that the outline that is displayed while I'm trying to draw my line as correctly as possible, has another color.
    I know how to change the color of lines that I have drawn, that are part of the image. What I need is to change the color of the line indicator/helper tool that ONLY shows WHEN I'm drawing a line, and is not really a part of the image.
    Hope you can help!

    It's a well-known shortcoming that the path that's drawn with the pen is hard to see under some circumstances.
    One thing:  Its appearance is a little different with OpenGL Drawing disabled vs. enabled.  What's your setting (Edit - Preferences - Performance)?
    If you're not in need of the OpenGL features, disabling OpenGL Drawing could be helpful in making your paths somewhat more visible.  Such a change is not without downsides, but perhaps it could serve as a workaround for you.
    -Noel

  • Changing color of an object on stage during runtime? in Flash CS4 (AS3)

    Hi,
    I was wondering if there is a way to change the color of an object during runtime. any ideas?
    Thank you for helping.

    you can use the colortransform property of your objects transform property.  so, if you have a displayobject mc, you can use:
    var t:Transform = mc.transform
    var ct:ColorTransform = t.colorTransform;
    ct.color = 0xff0000;
    mc.transform.colorTransform = ct;

  • Changing color of lines that identify selected objects

    Some of my artboards use the color yellow to highlight selected objects. Can I change that?

    that would be your layer color. in the layers panel double click on the layer to get the options window and change the color there.

  • I cannot change color of vector object

    I bought an image from shutterstocks... But when I change a colour, it all turns in monochrome colour. My Ai (CS6) knowledge is very limited, so I do not know what to Google "How to..."
    I would say that in a moment I change colour Ai understands that I colour in borders and all lines overlaps each other... However, I do not colour borders...
    Image is very complex pattern and I believe it is somehow related with image production... The image does not appear as it looks like - everything is over layered with cut-outs of object above... But it is beyond my knowledge...
    I have tried to ungroup but with same results...
    Could you please explain how to manipulate this image? Thank you!

    If this helps, here is a print screan as I cannot uploud real image... This image consists of 1 layer that is divided in thons of paths and some Compound Paths...
    Thanks a lot!

  • Change color randomly of object

    Hi,
    I wrote a small application simulating a road traffic. I am using threads to do the animation.
    this is the code:
    public class TestProject extends Frame implements Runnable
       public static int frame;   // int variable for frame (animation)
        int delay = 100;    // delay for animation
        Thread animator, light;    // thread name
         * Create a thread and start it.
        public void start()
            animator = new Thread(this);    // create new thread
            animator.start();               // start thread
         * This method is called by the thread that was created in
         * the start method. It does the main animation.
        public void run()
            // Remember the starting time
            long tm = System.currentTimeMillis();   // get time (ms) and store it in tm
            while (Thread.currentThread() == animator)
                // Display the next frame of animation.
                if (frame==(200*roadArrangement.size()+50)) // if object reaches "end" reset
                    frame =-50; // "reset" frame
                repaint();  // repaint object
                // Delay depending on how far we are behind.
                try
                    tm += delay;    // delay
                    Thread.sleep(Math.max(0, tm - System.currentTimeMillis()));
                catch (InterruptedException e) // catch exception for thread
                    System.out.println("error in thread interrupt!");
                    break;
                frame++;    // Advance the frame
        } // end of run
         * Set the animator variable to null so that the
         * thread will exit before displaying the next frame.
        public void stop()
            animator = null;
         * Paint a frame of animation.
        public void paint(Graphics g)
            for(int i = 0; i < roadArrangement.size(); i++)
                String tempType = roadArrangement.elementAt(i).toString();
                char roadType = tempType.charAt(0);
                g.setColor(Color.darkGray);
                if(roadType == 'r')
                    g.setColor(Color.darkGray);
                    g.fill3DRect(10+(i*210),100,210,60,true);
                else if(roadType == 'j')
                    g.setColor(Color.darkGray);
                    g.fill3DRect(10+(i*210),100,210,60,true);
                    g.fill3DRect(85+(i*210),160,60,70,true);
                    g.fill3DRect(85+(i*210),30,60,70,true);
                    g.setColor(Color.green); // traffic light color
                    g.fillOval(10+(i*210)+50,30+100,10,10); // traffic light
                    Color clr = g.getColor();
                    int red = clr.getRed();
                    if((frame == (10+(i*210)+50))&&(red==255))
                        stop(); // stop thread to stop cars
                        System.out.println("STOP");  
    }In the code I have "oval" traffic lights where I set the colours.
    Now, what I want to do is that traffic lights change independently and randomly their colour so that cars stop and drive.
    How can I do this? Will I need a second thread? If yes, how to implement that?
    thanks in advance.

    Use [url http://java.sun.com/j2se/1.5.0/docs/api/java/util/Random.html]Random class and call nextInt every time in paint method than match a color to the int you get back.

  • Change color and line weight

    Hi,
    I am trying to create a script who could act as an Autocad plot (ie convert each color to black, with a different lineweight). I did some research, and tried to mix some scripts found here to create my own, but there is a lot of things I don't understand yet… If anyone could give an eye at these, it would be great!
    Here is the first script I melted, who create my Black swatch
    if ( app.documents.length > 0 ) {
    var myDoc = app.activeDocument;
    //add Black swatch
    var newSwatch = app.activeDocument.swatches.add()
    var newColor = new GrayColor();
    newColor.gray = 100;
    newSwatch.name = "Black"
    newSwatch.color = newColor
    //Sélectionner les lignes par spot color
    var findColor = swatch.getByName("AutoCAD Color 2").color;
    var replaceColor = swatch.getByName("Black").color;
    //pathItem.strokeColor
    var idoc = app.activeDocument;
    var itext = idoc.textFrames[0];
    //alert(itext.textRange.characterAttributes.fillColor);
    var fillColor = itext.textRange.characterAttributes.fillColor;
    var strokeColor = itext.textRange.characterAttributes.strokeColor;
    filled = stroked = "yes";
    if (fillColor=="[NoColor]")
            filled = "No";
    if (strokeColor=="[NoColor]")
            stroked = "No";
    alert("Filled: " + filled + "\n" + "Stroked: " + stroked);
    And here is the second one, who replace one color by Black (it don't change the text, nor the lineweight yet…
    if ( app.documents.length > 0 ) {
    //test de dialogue
    function csDialog() {
         var fabGroup = app.activeDocument.swatchGroups.getByName('Fabrics');
         var allFabs = fabGroup.getAllSwatches();
         var fabNames = Array();
         for (var i = 0; i < allFabs.length; i++) {
              fabNames.push(allFabs[i].name);
              if (i < allFabs.length-1) fabNames.push('-');
         var csdlg = new Window('dialog', 'Tim\'s Fabric Picker…',[0,0,300,205]);
         // Standard Buttons    
         csdlg.cancelBtn = csdlg.add('button', [15,164,125,186], 'Cancel', {name:'cancel'});
         csdlg.okBtn = csdlg.add('button', [175,164,285,186], 'OK', {name:'ok'});
         // Button call back
         csdlg.okBtn.onClick = function() {
              csdlg.close(1);
              colourSwapper('Black','Black'); // Here call the process
         csdlg.center();
         csdlg.show();
    // Main active document commands go here
    function colourSwapper(a,b) {
         var uIL = app.userInteractionLevel;
         app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
         var docRef = app.activeDocument;
         recurseLayers(docRef.layers);
         alert('Now run Action:\r"Delete Unused Panel Items"');
         app.userInteractionLevel = uIL;
    // Main active document check function
    function activeDoc() {
         if (app.documents.length == 0) {
              alert('NO document open?');
              return;
    activeDoc();
    function recurseLayers(objArray) {
         for (var i = 0; i < objArray.length; i++) {
              var l = objArray[i].locked;
              if (l) objArray[i].locked = false;
              var v = objArray[i].visible;
              if (!v) objArray[i].visible = true;
              changeText(objArray[i].textFrames);
              changeColours(objArray[i].pathItems);
              if (objArray[i].layers.length > 0) {
                   recurseLayers(objArray[i].layers)
              if (objArray[i].groupItems.length > 0) {
                   recurseGroups(objArray[i].groupItems)
              if (objArray[i].compoundPathItems.length > 0) {
                   loopCompounds(objArray[i].compoundPathItems)
              objArray[i].locked = l;
              objArray[i].visible = v;
    function recurseGroups(objArray) {
         for (var i = 0; i < objArray.length; i++) {
              var l = objArray[i].locked;
              if (l) objArray[i].locked = false;
              var h = objArray[i].hidden;
              if (h) objArray[i].hidden = false;
              changeText(objArray[i].textFrames);
              changeColours(objArray[i].pathItems);
              if (objArray[i].groupItems.length > 0) {
                   recurseGroups(objArray[i].groupItems)
              if (objArray[i].compoundPathItems.length > 0) {
                   loopCompounds(objArray[i].compoundPathItems)
              objArray[i].locked = l;
              objArray[i].hidden = h;
    function loopCompounds(objArray) {
         for (var i = 0; i < objArray.length; i++) {
              var l = objArray[i].locked;
              if (l) objArray[i].locked = false;
              var h = objArray[i].hidden;
              if (h) objArray[i].hidden = false;
              changeColours(objArray[i].pathItems);    
              objArray[i].locked = l;
              objArray[i].hidden = h;
    function changeColours(objArray) {
         for (var i = objArray.length-1; i >= 0; i--) {
              var l = objArray[i].locked;
              if (l) objArray[i].locked = false;
              var h = objArray[i].hidden;
              if (h) objArray[i].hidden = false;
              if (objArray[i].strokeColor instanceof SpotColor) {
                   if (objArray[i].strokeColor.spot.name == 'AutoCAD Color 11') {
                        objArray[i].strokeColor = app.activeDocument.swatches.getByName('Black').color;
                   if (objArray[i].strokeColor.spot.name == 'AutoCAD Color 23') {
                        objArray[i].strokeColor = app.activeDocument.swatches.getByName('Black').color;
              objArray[i].locked = l;
              objArray[i].hidden = h;
    function changeText(objArray) {
         for (var i = objArray.length-1; i >= 0; i--) {
              var l = objArray[i].locked;
              if (l) objArray[i].locked = false;
              var h = objArray[i].hidden;
              if (h) objArray[i].hidden = false;
              if (/Primary/.test(objArray[i].contents)) {
                   objArray[i].contents = objArray[i].contents.replace('AutoCAD Color 11', 'Black')
              if (/Secondary/.test(objArray[i].contents)) {
                   objArray[i].contents = objArray[i].contents.replace('AutoCAD Color 23', 'BLack')
              objArray[i].locked = l;
              objArray[i].hidden = h;

    Gernouille
    Did you ever get this resolved?  I have a similar situation and would like to see final code if you have a working solution.

  • Changing color in JTable objects

    Hi all,
    I'm writing an application which shows tabular view of events of some outcome. Now I want to give color to each row depending on the severity of particular parameters in the table. I've written application using swings and using components JTable. Is there any way to give color to each depending on value so that I can give colors to each row Red, Blue and Green like that and all
    Waiting for your precious replies,
    With best regards,
    harry_sai

    Yes, you use a TableCellRenderer. Rather than explain further I'll just refer you to the tutorial about JTable.

  • I have a 5th generation IPod touch, and today when i turned it on everything was fine. Then suddenly the screen froze and changed colors and lines started coming from the sides of the Ipod until the reached the middle. Now it won't turn back on.

    I tried restarting it by using just the power on button at first. Once that failed I held the power and home buttom for ten sconds and that didn't work. I then plugged in the ipod to see if it needed charged, and repeated the same two steps at before but to no avail. Finally, I opened up itunes and plugged my ipod in, but nothing came up. I then tried to turn it on for a third time, but nothing happened. I just confused on what happened. Could it be a bad display, or did the whole thing just die on me? Help please.  

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Changing the color of a Basic line object nested in a table cell

    Can anyone help me out here...I have inserted a line object from the Basic palette into a table cell on my web page and it displays fine but is default black color...I would like to change the color but haven't been successful in doing so..any ideas

    Hmm - doesn't sound right.
    "color=#hex" is not appropriate HTML markup.... Can you show us where you
    made this change?
    Murray

  • How can I change the color of a object inside a symbol?

    Hello!
    I'm working on this study and I need to change the color of an object inside a symbol when I click another object.
    The object is called "bola", wich is inside the symbol "ponto" and the clicking object are the colored pencils (each pencil should change the color of the symbol's object, giving the impression you'd selecting a different pencil to draw).
    I think it's simple to understand what I mean when you see the files.
    I already tried this line on click event of the pencils, but it didn't work:
    sym.getSymbol("ponto").$("bola").css("color","#123456");
    Anyone knows how to make that work?
    I would like to improve the experience of drawing as well. I made it with the "mousedown" event. Is that a better way to get a similar effect?
    My files
    Thanks a lot,
    Clayton F.

    Ok here is another sample:
    http://www.meschrene.puremadnessproductions.net/Samples/HELP/LapisB/Lapis.html
    http://www.meschrene.puremadnessproductions.net/Samples/HELP/LapisB/Lapis.zip
    You need to create a var that changes the css background color..
    Hopefully you can understand what I did...
    The text I left showing so that you could see it change...
    I updated the files and all colors should work now.
    Message was edited by: ♥Schrene

  • How to change color in the title line?

    Hi experts, How to change color in the title line, i show an image for explained better
    !http://img688.imageshack.us/img688/9259/imagenjar.png!
    thanks

    in Views.css file
    file below object.and change border-color as you desired to reflect.
    .TitleTable {
         font-family: arial, helvetica, sans-serif;
         border-width: 0 0 4px 0;
         border-style: solid;
         border-color: #6666cc; ----> change here.
    hope this helps !
    -Niranjan K

Maybe you are looking for

  • MS Office Home and Student 2010

    I have happily used MS Office on my Windows 7 laptop for past 3 years. It has been upgrading automatically. Today I found myself unable to use Excel & Word files. The message that came up was: "MS Office Home & Student 2010 cannot verify the license

  • Trouble with Creative Zen

    Hi I've been checking the topics for a problem similar to mine but haven't found any. I've had my creative zen for about 3 years now and have loved it. However, in the past few months I've been having trouble with it. While playing a song (either whi

  • Dump 'DYNPRO_SEND_IN_BACKGROUND'

    Hi Guys, I am getting this dump everyday in my system. Please help me. Dump details: Screen output without connection to user. What happened? Error in ABAP application program. The current ABAP program "SAPLSLST " had to be terminated because one of

  • New Lion Login Screen, Auto Sleep?

    I set up two user accounts on my Mac Mini 1.83GHZ Core 2 Duo, and each account is set to auto-log off after 10 minutes of inactivity.  This works as expected (phew!) so that when each user needs to use their account, the computer is ready for them at

  • PL/SQL: numeric or value error: character to number conversion error in TRG

    Hi, I've got strange issue with one trigger which during update of table reports (DB is 9.2.0.8): ORA-06502: PL/SQL: numeric or value error: character to number conversion error ORA-06512: at "UDR_LOG", line 345 ORA-04088: error during execution of t