Still can't change shape's color in runtime

Hi , I've read many of the earlier posts in the subject , and everyone saying , that if I want to change a shape's color in runtime I should just after creating the shape , add the line:
shape.setCapability(shapw.ENABLE_APPEARANCE_MODIFY);
I've tried it with boxes , and cylinders , and it just doesn't work!!! it keeps throwing exceptions when I try to set a new appearance after the scene was loaded
PLEASE HELP!!!

I SOLVED THE PROBLEM!
I've done some deeper digging in the post archives , and I found a reply of NathalieP that works -
I need to do .setCapability , not only to the box itself , but to all the box's parts - TOP,BUTTOM.....
THANKS NathalieP

Similar Messages

  • How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.

    How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.
    As an example, html widget has white background on iPad, and black on mac. The same goes for interactive widget.
    The MathType text inserted is inserted as a image, and will have the same color when in fullscreen as when not. So I need the textcolor to be the same in both views. Anyone know how to fix this?

    We're still not communicating. This is why I wanted an example .iba.
    Here's a re-creation of my own, going off what you described. You said "all html widgets and all gallery widgets" have this problem. So I inserted a blank HTML widget and a blank Gallery widget, and typed into both. Inserted a MathType equation into both. I don't see any difference when I preview it on my Mac compared to the preview on the iPad. I want to help, but I can't help if I can't duplicate the issue.
    I've attached the screen shots and the .iba file [link to .iba file].
    Feel free to email me directly at bobm at dessci dot com. If you're uncomfortable giving some information here, tell me anything you want in email. I work for the "MathType company", Design Science.

  • Can I change the background color when I'm in a brochure layout?

    can I change the background color when I'm in a brochure layout? I've tried making a box in desired color but cannot push it to the back(not an option, it's greyed out)

    Then you are in a Layout template and the shape is already the back most object.
    Peter

  • How can i change bookmarks text colors, not toolbar text color.

    I know how to change color of toolbar text but still want to change the text color of bookmarks.

    You can experiment with code like this in the userChrome.css file.
    *http://kb.mozillazine.org/userChrome.css
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #personal-bookmarks .bookmark-item > .toolbarbutton-text {color:#000!important; background-color:-moz-dialog!important}
    </nowiki></pre>
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • How can I change the background color in the inbox?

    The background color in my inbox (well, all mailboxes) is white. A yellow background would make the existing black text a lot easier to read. How can I change the background color in the inbox?

    Themes work in Thunderbird - duggabe was not refering to Firefox.
    Another useful addon is theme and font changer:
    * https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
    However, Thunderbird allows you to modify all sorts of things.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    Help > Troubleshooting Information
    Click on 'show Folder' button
    a window opens shwoing profile folder name
    Close Thunderbird now - this is important
    In the profile name folder, Create a new folder called '''chrome''' - note the spelling
    It should be in the same place as the 'Mail' folder.
    see first image below.
    Open Notepad
    Can be located : Start > Programs > accessories
    Copy everything shown between the lines below.
    Paste into Notepad.
    Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
    This should be saved in the '''chrome''' folder.
    see second image below.
    Restart Thunderbird.
    I have chosen a yellow for you
    <pre>
    #f6f58c = a yellow....it is a hex code for a colour.
    </pre>
    You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
    More info on colours.
    * http://www.yourhtmlsource.com/stylesheets/namedcolours.html
    <pre>
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*Background colour for message list*/
    #threadTree > treechildren::-moz-tree-row {
    background-color: #f6f58c !important;
    </pre>
    -------------------------------------------

  • Can we Change the backround color of an Input field in Webdynpro for ABAP.

    Hi Experts ?
    Can we change the background color of an Input field in WebDynpro for ABAP based on results we receive from any function module or BAPI?? .
    Thanks in advance .
    Regards ,
    LAS

    Yes. We can change the background of an input field. The way you do this is by editing the theme that webdynpro application uses. To edit the theme, you will need to install NWDS PLUS the theme edit plugin (Available for download from SAP).
    Once you have edited the theme, you will need to upload your theme back to application server. You can use the program : BSP_UPDATE_MIMEREPOS to do this.
    Bydefault, the theme used by webdynpro applications is :
    /SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow
    You can apply another theme by calling the webdynpro application with a theme parameter. For example, if my webdynpro application name is "zgopaltest", then
    <i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow</b></i>
    will apply the sap_tradeshow theme.
    Likewise, you can apply diffrent theme. There is another theme that SAP provides. Its called : sap_hcb. Hence, you can apply the theme to the above application by:
    <i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_hcb</b></i>

  • How can i change my background color in "albums" mode back to black in iTunes 11

    how can i change my background color in albums mode back to black in iTunes 11?

    Themes work in Thunderbird - duggabe was not refering to Firefox.
    Another useful addon is theme and font changer:
    * https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
    However, Thunderbird allows you to modify all sorts of things.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    Help > Troubleshooting Information
    Click on 'show Folder' button
    a window opens shwoing profile folder name
    Close Thunderbird now - this is important
    In the profile name folder, Create a new folder called '''chrome''' - note the spelling
    It should be in the same place as the 'Mail' folder.
    see first image below.
    Open Notepad
    Can be located : Start > Programs > accessories
    Copy everything shown between the lines below.
    Paste into Notepad.
    Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
    This should be saved in the '''chrome''' folder.
    see second image below.
    Restart Thunderbird.
    I have chosen a yellow for you
    <pre>
    #f6f58c = a yellow....it is a hex code for a colour.
    </pre>
    You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
    More info on colours.
    * http://www.yourhtmlsource.com/stylesheets/namedcolours.html
    <pre>
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*Background colour for message list*/
    #threadTree > treechildren::-moz-tree-row {
    background-color: #f6f58c !important;
    </pre>
    -------------------------------------------

  • How can you change the bubble color in the message app on the iphone 5

    How can you change the bubble color in the message app on the iphone 5?

    If you are having trouble reading your texts you can increase the font size until it becomes clear. Put in a feature request for the colour change though, it won't happen unless people ask for it.

  • Can we change the background color of a sub menu?

    In swing, can we change the background color of a sub menu. it is working fine for the main menu, but doesn't work for sub menu.

    Hey hi,
    just an append to the previous reply.
    The subMenu needs to be setOpaque() to true. i.e.
    subMenu.setOpaque(true);

  • How can I change the text   color in pages

    Hi , how can I change the text color in pages app

    Select the text you want to change.
    Tap the i in the top bar.
    Tap Style in the top bar.
    Tap the Font name/size
    Tap Color then choose the color you want the text.

  • Can you change the pasteboard color? (Dark Gray to a much lighter gray)

    Can you change the pasteboard color? (Dark Gray to a much lighter gray)

    In CS6 and later you can change the User Interface in the Preferences.
    A brighter interface changes the pasteboard color. Tou can also check the Canvas Color to white.

  • Can i change the back Color from the IPhone 5c

    Can i Chang the back Color from the i-Phone 5c .Now i Heven Pink and i want Blue Shoud i go to a Apple störe to do that and how much does it cost!!!

    Apple does not do this at all.
    Not sure if anyone does this.  if they do, it will void the warranty

  • How can I change the default color (Blue color)?

    Hi,
    I use JDev 11g last version
    when I use decorativeBox or panelStretchLayout I use (dark - light - medium) in theme but by default it be in blue color can I change this blue color to any other color?
    I don't want to use an image or change background color using css file I want bu easy way to change the theme with any color except blue.
    Thank You...
    Sameh Nassar

    Hi John,
    Thank You for your reply
    I know that can be solved by using skin.
    but when I use (dark - medium - light ) the appearance change without using skins.
    I ask is there any way to change the default color (blue) with any other color.
    - It means when I write a dark in decorativeBox theme I found the decorativeBox in red color (or any other color) instead of blue color.
    - Where can I find the place which say the blue is the default color?
    Thank You..
    Sameh Nassar

  • Can i change the handset color if its being replaced

    can i change the handset color if its being replaced.I have  A faulty iphone 5 and the store says the set has to be changed.Fully unlokcked set ,purchased this month.

    You can try, normally you can't change the color. You'll get exactly the same model.

  • How can i change the background colors on my iphone. The new white is hard on my eyes. I dont care for the grey boxes either.

    how can i change the background colors on the new update? I find the white a bit much. Also is there anyway I can change the grey boxes they seem out of place.

    That makes me sad. thannk you

Maybe you are looking for

  • How to set default number format for whole app

    Hi! I have a bunch of View Objects and I have to set the format for each attribute of type number. I've tried using MyAtt_FMT_FORMAT=#,##0.00 MaAtt_FMT_FORMATTER=oracle.jbo.format.DefaultNumberFormatter on just a couple of attributes and it works OK.

  • Change Error Message in Travel Expenses

    Hi All, I'm having a problem changing one of the error messages on the Create Expense Report screens in ESS Travel Expenses. [Here's a screenshot|http://www.scehardt.com/news/image003.png] I've changed the label to say Ticket instead of Document.  No

  • Problems starting Designer 6.5 of Oracle 8i in Personal Ed. 8i in PC

    HI YOU! Can you help me? I have problems starting Oracle Designer 6.x in Windows 98 and Personal Edition 8i. I'm not in a LAN and I don't have the client installed. I don't know the user systems for Designer, I prooved with the SYSTEM anad SYS user b

  • Xellerate - Reconciliation Rule definition: Tokenize

    Hi Gurus, does anyone know how the TOKENIZE transformation work in the Reconciliation Rule definition? My Rule Element is: User Profile Data: Last Name Operator: Contains Attribute: TargetCustomField Transform: Tokenize Can you help me to set properl

  • Error when installing Lightroom 5

    The system say that I have a connection problem, but it isn't true: my connection is ok.