Change the colour of Canvas graphics on runtime

Hi,
can someone tell me hoe to change the colour of canvas graphics like rectangle on runtime, like set_item_property is not working for these items
Thanks

try this
set_canvas_property('canvas2',background_color,'r110g50b22');
Pradhyumn

Similar Messages

  • I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    I would like to change the colour of bars in a chart without losing the underlying default texture associated with my chosen theme. None of the 3D textured fills offered in "Chart Colors" match the textured fill of the theme. Any suggestions?

    Thanks Gary, but no, that does not work. First of all, I can't select each bar individually. When I click on one bar, all three bars are selected.
    When I use "inspector > graphic" I have 5 fill options: none, color, gradient, image, tinted image. The default selection for the theme I'm using is image. What I would like to use for my charts is the same image that this theme uses for table headers. It has the same texture as the chart, but a different colour. Using anything but image or tinted image removes the texture from the fill.
    I have found I can do one of two things. I can select tinted image from the fill selections in "inspector > graphic" or I can select 2D Image Fills from "inspector > chart > chart colors". The first choice does not allow me to match the table header colour because it only allows me to apply a tint to the existing colour and adjust its opacity. The existing colour has too much influence on the fill, so I can't find an RGB adjustment that will match the table header colour. The image selections from "inspector > chart > chart colors" do not quite match the colour or the texture. Again, I can try to tint the image, but I still can't get it to match and the texture is not the same anyway.
    The image I want to use obviously exists in the software as it is an attribute of the theme, but for some reason is inaccessible. The other angle I have tried is to edit the theme, but I can't figure out how to do that either.

  • Is there any function to change the width of forms'graphic ?

    Hi All,
    Is there any function to change the width of forms'graphic ?
    May be like set***property.
    Thanks,
    ke xiong

    No. Graphics cannot be handled at runtime.
    Francois

  • How to change the colours of a vector patterned image?

    Hello ,
    I downloaded a vector , in both jpg and gif format today.  I saved it down in Illustrator as a new swatch.
    I was wondering if anyone knows if it is possible to change the colours in that vector/swatch?
    As its jpg or gif , i am not sure whether it can be done.
    Your help is much appreciated.
    Lola

    Just by way of hopefully-helpful general info:
    I am not familiar with .eps....
    Both EPS (Encapsulated PostScript) and PDF (Portable Document Format) are "meta formats." They are really not all that mysterous. Just think of them as mere "containers"--locked boxes which can contain any combination of individual vector-based, raster-based, and/or text-based objects. So merely saying you have an EPS or PDF file doesn't really tell anyone what you're actually dealing with, because saying that alone doesn't tell what kind of graphic objects the file actually contains.
    Both EPS and PDF exist to "pass through" or "pass between" various softwares and/or devices graphic information which would not likely be "understood" if delivered in the native code of the program(s) which created the actual graphic objects.
    Illustrator (like other similar drawing programs) is originally and primarily a PostScript-generating program for print. Both EPS and PDF are deeply related to PostScript. So programs like Illustrator can "unlock" most EPS and PDF files to get at the actual, individual objects they contain.
    As already briefly mentioned, JPEG (Joint Photography Expert Group) and GIF (Graphics Interchange Format) are entirely raster-based image formats. They are just different ways to encode a single raster image in a compressed file. Both of them use "lossy" compression algorithms--to minimize the file size, they actually throw away data detail when they can. So they most often actually degrade the original (in what is hopefully "negligible" ways). So think of a JPEG (often shortened to JPG) or GIF as a single raster-based image object. A JPEG or a GIF are just two of the kinds of objects which may or may not be contained within an EPS or a PDF.
    So you didn't receive "...a vector , in both jpg and gif format" because neither JPEG nor GIF can contain vector-based paths. JPEG or GIF is often used to serve as a mere rough preview of the contents of an EPS or PDF. In fact, EPS files very often contain a JPEG or TIFF (another raster-based image format) image to serve as a crude substitute preview for programs or devices which otherwise would be unable to display the real contents at all.
    I downloaded a vector...
    Saying "a vector" is giveaway beginner language. You didn't "dowload a vector." 'A vector' is 'a direction.' You downloaded a vector-based graphics file (but not as  a GIF or a JPEG). Vector-based graphics are graphics consisting of mathematically-described curves nowadays most commonly (but not always) defined as cubic or quadratic Bezier curves. Cubic Bezier curves are the kind created by most programs like Illustrator.
    So what you downloaded is typical of a stock-artwork provider:
    The actual full-fidelity graphics content (objects) in EPS and PDF "containers."
    Separate "dumbed down" raster images of the content in JPEG and GIF formats; usually provided so you can use them as temporary place holders or preview references.
    JET

  • How do you change the colour of the "colour boxes" in themes?

    Creating a book in Aperture the various "Themes" offer you different layouts.  When you are in a Theme - is there a way to change the colours of the background boxes (Not page colour) - I have searched everywhere to see how to do this and a simple thing like this seems like it is not possible.  Yes you could make a photo of the correct colour you want and drag it in but surely there is a simple way of changing the colour of these theme boxes. 
    The theme I am using is Special Occasion and I want to darken the lightblue boxes behind the text. 
    Would appreciate anyone out there who could advise on this please, thank you in advance.
    Richard
    Apperture 3.4.3
    iMac 21.5 OS 10.7.5
    iMac 27 OS 10.6.8 (the best)

    Richard,
    there is no built-in option to change the color boxes. You can only change them by patching the Resorces in the Aperture application bundle, and that is risky.
    The color of the background boxes is set in the property list (for the Extra Large Book):
    /Applications/Aperture.app/Contents/Resources/Book Themes/Special Occasion/ExtraLarge/Graphics/BlueRect.plist
    The current value is:
    backgroundColor {224, 241, 238, 100}
    To try what happens, when this value is changed, I edited it to {100, 200, 255, 100}
    You will not really want to patch your Aperture application bundle
    What you might try, would be to copy the "Special Occasion" subfolder of the Book Themes and to create your own custom theme from this and install it in your user library
    ~/Library/Application Support/Aperture/Book Themes/
    -- Léonie

  • Change the colour of events in iCal

    I need to change the colour of events/appointments in the Mac iCal.  I have imported all of my Outlook calendar via google sync and all my appointments are now just one colour.  I have my medical appointments coloured in orange so they stand out each week (I have many) and all my personal events a different colour, and my volunteer work a different colour so that I can see at a glance in week view what I am up to. Looking at one week with every appointment in one drab colour is not nice.
    I notice that different calendars are different colours, but I dont want separate calendars as I need to sync with google to share the calendar with Android phone and iPad.
    Please can you let me know how to turn this feature on.  Many thanks.

    Click calendars at the bottom of the page the click on the i symbol for info and then you can select the colour you'd like.

  • Change the colour of the outer line of a circle

    Hello everyone,
    I drew up a circle with no fill inside, to show where the location of my highway storm culvert will be.
    I changed the thickness of the outer line of my circle shape by creating a stroke effect at layer → blending options → stroke; then I changed the thickness of the line by right clicking in stroke at the layers panel and then choosing "scale effect."
    But the problem I have is that the outer line is gray, and I want it to be black.
    The outer line was originally red though so I changed my image → mode to grayscale, because I couldn't find a way to change the colour while keeping my image in RGB colour.  So I've managed to make the outer line gray by changing the image mode but I still can't change the colour of the outer line to black.
    I'm sure there must be other ways of changing the outer line colour without having to change the image mode, but I'm clueless.
    Here is my drawing:
    The text next to the circle says «Obra de desagüe». That's spanish for "drainage construction site."
    You see, I can't change the colour because I have no clue at where the "change colour option" is. I tried going to layer → layer properties, but in there there's only 7 colours to choose from. I chose a random colour, just to see what happens and what truly changed colour was the layer, within the layers panel; not the shape contained within the layer.
    So I'm lost here, any help please?
    Unfortunately I'm still not an expert in Photoshop just yet.
    Thank you for reading my post.

    Set shape layer opacity 100% Fill 0% to make fill transparent or add an empty layer make a circular selection stroke it black.

  • Best way to draw an asset if I want to change the colour of it?

    If I draw something manually, can I still change the colour by actionscript?
    I want to draw a cat, and the cat colour depends on the the user choice in the previous 'screen'.  How should I go about this?
    Thanks.

    Yes, there are a couple ways. You can use the ColorTransform class. Or you can use one of the Tweening engines - it's really easy to tint objects using TweenLite. You can even test in the demo at http://blog.greensock.com/tweenlite/
    Scroll down a bit to the demo... pick a color in the tint box and hit Tween.

  • How can i change the colour of the keys on my mac? is it possible to get them changed?

    i was looking at a macbook i was today and it's keys on the keyboard were in a rainbow formation, with different colours. Is there a way to bring mine in to change the colours of the keys? or did i have to order it like that?

    Ask the person who owned the computer or do a Google & Bing search. 

  • Is it possible to change the colour of the highlighted fields in a form? And if so how?

    Hi there,
    I would like to know how to change the highlighted fields that show up on a form once it has been designed and PDF'd. I know i can turn it on or off but i would like to just change the colour so it matches our styling of the company.
    Is there a way to do this and if so how??? If not thats fine i just need to know if there is a way.
    Thanks
    Jennah

    Hi,
    What do you mean by travel? Is that when it wont change all settings across the board? e.g another staff member with adobe acrobat wont have the same settings as i do?
    I am the only one creating the forms and using any adobe settings anyway so i guess it wont really matter that they dont have the same settings as i do but its not hard to change them on all pc's anyway.
    Thanks though.

  • Is it possible to change the colour of the bars in a chart on the iPad?

    I'm using keynote for iOS and I'm trying to pick the bar colour for my charts. I understand that the default settings will change the colour for each new series but I have a few charts all with a single series and I would like to change the colours along the way. Below is an image from my presentation, basically I'm looking for guidance on how to make the blue bars into red bars.

    Set the grid background color black and set the GridItem background color something else.
    Here is an example.it is better to set this kind style attributes in css
    <mx:Grid backgroundColor="#000000" verticalGap="0">
       <mx:GridRow>
        <mx:GridItem backgroundColor="#FFFFFF">
         <mx:Label text="Testt"/>
        </mx:GridItem>
        <mx:GridItem backgroundColor="#FFFFFF">
         <mx:Label text="Testt"/>
        </mx:GridItem>
        <mx:GridItem backgroundColor="#FFFFFF">
         <mx:Label text="Testt"/>
        </mx:GridItem>
       </mx:GridRow>
       <mx:GridRow>
        <mx:GridItem backgroundColor="#FFFFFF">
         <mx:Label text="Testt"/>
        </mx:GridItem>
        <mx:GridItem backgroundColor="#FFFFFF">
         <mx:Label text="Testt"/>
        </mx:GridItem>
        <mx:GridItem backgroundColor="#FFFFFF">
         <mx:Label text="Testt"/>
        </mx:GridItem>
       </mx:GridRow>
      </mx:Grid>

  • In ios7 is there a way to change the colour of a sent text?

    Since upgrading to ios7 & on my iphone 5 the sent text messages in a conversation (my messages) are white on green and I don't find it that easy to read when I want to look back over a conversation. I tried making it bold in the Accessibility area of settings but that it no better. Inverting colours gives me a horrible purple. \does any one know if there is anyway I can make the text other than white - black on green would be fine.

    Hello again, Helen,
    While this doesn't actually change the colour of the mouse pointer, Mouse Locator does make it very easy to spot, even on a large display.
    And it's freeware into the bargain!
    HTH
    Archie

  • Ical Version 5.0.1 (1547.4) change the colour of an exchange calendar

    I have ical version Version 5.0.1 (1547.4) and want to change the colour of the exchange calendar (my work calendar). I have read online about selecting the cal and then click get info and change the colour ut this does not seem to work for an exchange calendar.
    Any advice would be great

    problem still persists regardless of which user you sign in under.
    my Imac is
    Software  Mac OS X Lion 10.7.2 (11C74)
    Safe mode did not make a differebnce as well.
    I have read something about running an applescript but i dont really know how to do this and was hoping for an easier solution. Plus dont know the numbers for the different colours

  • In the old Numbers I could change the colour of a checkbox using rules - I cannot seem to do this in new Numbers 2013?

    In the old Numbers I could change the colour of a checkbox using rules - I cannot seem to do this in new Numbers 2013?
    I have an old Numbers sheet where I could make the checkbox Cell go Green when ticking "Equal to" TRUE. When I open the old sheet it into new iWork it functions correctly. But I am unable to copy or paste the rule - nor recreate it.
    Any suggestions on how to create a Conditional checkbox cell that goes green once ticked would be most apprecicated.
    Thanks - Steve

    Numbers 3.0 is missing the logic-based "equal to TRUE" or "equal to FALSE" conditions for conditional formatting.  The replacement is text based: "text is TRUE" or "text is FALSE".  You can apply these rules to cells formatted as checkboxes.

  • Change the colour of the tile dynamically:

    Hi,
    I have 12 tiles in my application. Depending upon some condition, few tiles colour should be changed and also to the same tiles image should be added. (I'm creating tiles using Border)
    Can anybody suggest how can I achieve this?
    Thanks,
    Santosh

    Please close your previous threads before you start a new one.
    Also, you have asked this very same question before here:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/b3752b09-2ee2-46ac-a941-dc7baad78110/change-the-colour-of-the-rectangle-dynamically?forum=wpf#b3752b09-2ee2-46ac-a941-dc7baad78110.
    Please don't ask the same question twice.
    You could use DataTriggers and/or converters to change the property of some UI element based on some condition as already suggested in the previous thread.
    Of course you must post your code, or even better upload a reproducable sample of your issue to OneDrive and post the link to it here, for anyone to be able to provide a specific solution.
    But note that the forums are not for anyone else to do the entire work for you. You were given code samples of how to use data triggers and converters in the previous thread. That should certainly give you the idea.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

Maybe you are looking for

  • Transferring music from iphone to library

    ive just got a macbook pro and dont know how to load the music on my iphone onto the library? please help, thanks

  • Add a URL to a Calendar event linking to a message in Mail

    Hi, Before Mavericks 10.9.5 update, I could manually add a URL in a Calendar event to a message in Mail by doing the following: Show the message's header, Find the "Message-Id: " field, Copy the string after "Message-Id: " surrounded by "<" and ">",

  • Recover

    hi,all: oracle 8i backup and recovery guide page 5-15. If you have a database damaged by media failure and operating in NOARCHIVELOG mode, and you want to restore from your most recent consistent whole database backup (your only option at this point)

  • Minor issue with RSS

    Hi everyone, check this out feed://chromatic.se/Andreas/Portfolio/rss.xml That's what my RSS looks like. The pictures work, the texts work, but there seems to be an EXTRA picture link on most of the Entries. - Do any of you know WHY they are there, o

  • Question about displaying an image among columns in a report

    Hi folks, I've looked at examples that I've come across, but I guess I'm missing something. I have a PL/SQL procedure which returns a sql statement for a report. I want to display an image between two of the columns. I already have the images stored