Stacked canvas background color

How on earth do I get the background color of my stacked canvas to be the same as the rest of my form (the default forms grey color)? I have both my main canvas and stacked canvas on the same visual attribute, all with background & foreground colors set to unspecified (at both the canvas and visual attribute level). No matter what, the background of the stack is white. I've tried setting it at runtime, but the color is slightly different on each machine used. I've tried everything I can think of -- any ideas? Thanks.

Well the problem is that we want the background surrounding our main canvas to be white (that way the tabs up top are white too) and the form itself in the main canvas to be the default grey (that is our standard). Changing the background to gray or some other color in the visual attribute changes both the white background and the default form's grey to that one color, which doesn't really fix the problem at all. If it's left as unspecified, we get the white background and the default forms grey for the background color of the form. The stacked canvas always wants the white.

Similar Messages

  • Change viewer/canvas background color?

    When I have a HD clip in the canvas window I get the letterbox look.
    The bars are currently grey which I assume is default.
    Is there anyway to change the canvas background color to black?

    Just hit Control + U if you fancy the standard layout
    or go to FCP main menu>Window>Arrange> Two Up
    if you fancy a more useful layout (IMO).
    These actions will clear the confusion.
    I have the Two Up view shortcut set to Shift + 2 (You can choose your own).
    You can achieve that by customizing your keyboard shortcuts (Alt/Otion + H to start with keyboard layout customization).
    Luca

  • Defaule Canvas background color - Forms 6i

    How do i set the default forms canvas color. I changed the canvas background color to blue. i want my original color back. The property of foreground color is <Unspecified>. I need the same for background.

    r u doin this on Runtime ? i thought u r talking abt design time....coz sometimes builder stuck with color of canvas
    if yes then set_canvas_property('canvasname',background_color,'colorname');
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]
    Edited by: Baig on Jan 28, 2010 2:29 PM

  • Setting Canvas Background Color issue

    For some reason I cannot set a color for my canvas background. I have tried using setStyle('backgroundColor', colorNumber); in actionscript and setting directly in the mxml with no success. It only takes the value that is set in the design mode of Flex.  Ideally I want to load in a color value from an xml file and use that color value, which I have been doing for other components, but for some reason the canvas will not work. Any ideas???

    Ok this is complete code, where i'm reading xml through wrapper which you can do it through HTTPservice. Make sure you put proper swf name while embeding.
    <!--------------------------------------------------------------mxml code---------------------------------------------------------------------->
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="create()" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #FFFFFF]">
    <mx:Script>
    <![CDATA[
    import mx.utils.ColorUtil;
    import com.anychart.visual.fill.Fill;
    import com.anychart.styles.Style;
    import mx.collections.XMLListCollection;
    import mx.rpc.events.ResultEvent;
    import mx.controls.Alert;
    [Bindable]
          public var inputdata:XMLListCollection;
          [Bindable]
         public var canvasData:String;
         [Bindable]
         public var list:XMLList;
         [Bindable]
         public var mycolors:Array = new Array();
         public var count:int=0;
         public var clrname:String;
        public function create():void{
        //Reading data from wrapper
        canvasData=mx.core.Application.application.parameters.canvasData;
        //convert into xml      
            list = new XMLList(canvasData);
            //datasource
            inputdata = new XMLListCollection(list);
            for(var j:int=0;j<3;j++){
        for each(var item:XML in inputdata){
    mycolors[j] =item..name[j].toString();
        public function showme():void{
        var value:String=" ";
        for(var i:int=0;i<3;i++){
        value = mycolors[i]+"\n"+value;
        Alert.show(value);    
        public function change():void{
        if(count == 3){
        count=0;
        clrname=mycolors[count];
        else{
        clrname=mycolors[count];
        Alert.show(count+" "+clrname); //This alert line is optional you can remove it all other lines are imp.
        count++;
        mycanvas.setStyle("backgroundColor",clrname);
    ]]>
    </mx:Script>
    <mx:Panel x="246.5" y="48" width="500" height="544" layout="absolute" backgroundColor="#E8E5E5">
    <mx:Canvas id="mycanvas" x="55" y="40" width="370" height="436" backgroundColor="0xFFFFFF" cornerRadius="20">
    <mx:Label x="51" y="55" text="This is Canvas" width="147" height="23" fontSize="17"/>
    <mx:Button id="btn1" x="51" y="99" label="Show me" click="showme()"/>
    <mx:Button id="btn2" x="152" y="99" label="Change"  click="change()"/>
    </mx:Canvas>
    </mx:Panel>
    </mx:Application>
    <-------------------------------------------------------------------------------jsp code where swf embeded--------------------------------------------------------------------------->
    <html lang="en">
    <head>
    <title></title>
    <%
        String canvasData = "<values><name>0xE4F9A0</name><name>0xA5BC4E</name><name>0x6693B0</name></values>";
    %>
    </head>
    <body scroll="no">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    id="problem" width="100%" height="100%"
    codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="problem.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#869ca7" />
    <param name="allowScriptAccess" value="sameDomain" />
    <param name='FlashVars' value='canvasData= <%= canvasData %>'/>
    <embed src="problem.swf" quality="high" bgcolor="#869ca7"
    width="100%" height="100%" name="problem" align="middle"
    play="true"
    loop="false"
    quality="high"
    allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash"
    pluginspage="http://www.adobe.com/go/getflashplayer"
    FlashVars="canvasData= <%= canvasData %>">
    </embed>
    </object>
    </body>
    </html>

  • The canvas background color disappeared when using updateDisplayList

    If I put code in the updateDisplayList for canvas. The
    background color is disappeared. if I called
    super.updateDsplayList(), all the drawing is not show.
    What 's wrong with my code or Canvas class?
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:cmp="PlanUI.*" creationComplete="init()">
    <mx:Style source="2dStyle.css"/>
    <mx:Script>
    <![CDATA[
    import PlanUI.TestCanvas;
    public function init():void
    var dc:TestCanvas=new TestCanvas();
    dc.percentWidth=100;
    dc.percentHeight=100;
    dc.setStyle("backgroundColor",0xFF0000);
    this.addChild(dc);
    ]]>
    </mx:Script>
    </mx:Application>
    package PlanUI
    import mx.containers.Canvas;
    public class TestCanvas extends Canvas
    public function TestCanvas()
    super();
    this.percentHeight=100;
    this.percentWidth=100;
    override protected function
    updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    this.graphics.clear();
    // super.updateDisplayList(unscaledWidth, unscaledHeight);
    this.graphics.lineStyle(1,0xFF0000,0.3);
    this.graphics.drawRect(0,0,200,200);

    Yes, it is the same drag and drop project.
    I changed color of draw rectangle The rectangle showed up. If
    I called super.updateDisplayList(unscaledWidth, unscaledHeight) in
    updateDisplayList function, the background will show up, however,
    show in front of the rectangle.
    There are 2 problems:
    1> background color is show in front of rectangle,
    2> I set rectangle.x=0, rectangle.y=0, but the begin point
    is out side of the the canvas.
    package PlanUI
    import mx.containers.Canvas;
    public class TestCanvas extends Canvas
    public function TestCanvas()
    super();
    this.percentHeight=100;
    this.percentWidth=100;
    this.setStyle("borderThickness", 0);
    override protected function
    updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    // super.updateDisplayList(unscaledWidth, unscaledHeight);
    this.graphics.clear();
    this.graphics.lineStyle(33,0x00FF00,1.0);
    this.graphics.drawRect(0,0,unscaledWidth/2,unscaledHeight/2);
    // super.updateDisplayList(unscaledWidth, unscaledHeight);
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:cmp="PlanUI.*" creationComplete="init()">
    <mx:Style source="2dStyle.css"/>
    <mx:Script>
    <![CDATA[
    import PlanUI.TestCanvas;
    public function init():void
    var dc:TestCanvas=new TestCanvas();
    dc.percentWidth=100;
    dc.percentHeight=100;
    dc.alpha=1.0;
    dc.setStyle("backgroundColor",0xFFEE00);
    this.addChild(dc);
    ]]>
    </mx:Script>
    </mx:Application>

  • Canvas background color

    I am trying to place a wide screen matt in the canvas. However the canvas background is grey....and the mask applied to the actual picture is black....how do I change the background color in the canvas so it is all black?
    g5   Mac OS X (10.4.4)  

    The grey you are seeing won't show up in any Quicktime export or tape output. It is just the area surrounding your VIEWABLE are. If you resize the window or go to the WINDOW menu and choose a workspace preset, like TWO-UP then it will go away. But it is nothing that will appear on your footage.
    Shane

  • Canvas background color bug

    Hey,
    abviously there is a bug in the new Adobe Reader X.
    The Adobe Reader crashes at start up when setting the background color of the 3D annotation canvas with the following function:
    In Adobe Reader 9.x this worked for me!
    //=============================
    function changeBGcolor()
    var topColor = new Color(1.0, 1.0, 1.0);
    var bottomColor = new Color(0.5, 0.5, 0.7);
    var myRenderObject = new RenderEventHandler();
    myRenderObject.onEvent = function(event)
    var theCanvas = event.canvas;
    theCanvas.background.setColor(topColor, bottomColor);
    runtime.addEventHandler( myRenderObject );
    changeBGcolor();
    //===========================

    I am using Windows Vista 64bit and I create the PDF with the iText library, but as I said, with Adobe Reader 9.x everything worked fine for me. Now, with Adobe Reader X, that does not work.:(

  • Changeing Canvas Background Color

    Hi !
    Once I have defined background color property(at design time) then how i can not change it back to <Unspecified> or Null? It doesnot except <Unspecified>. is it a bug?
    Regards
    Neeraj

    hi
    after clicking right of "background color" part,
    click "Inherit" button which is at the top of the
    "Property Palette" window..
    your background color is now <Unspecified> as you want..

  • Canvas background color slightly off

    I notice this with certain colors more, but it seems like even if I paint the background the same exact color as my layer background, the canvas color is not exactly the same. I'm assuming it's a color management/profile kind of issue, but I keep that stuff off, so I'm not sure what's causing this. Has anyone had a similar experience?
    Thanks,
    -Onur

    Say what?
    Could you post a screenshot with the Layers Panel visible because I don’t quite follow?
    I'm assuming it's a color management/profile kind of issue, but I keep that stuff off, so I'm not sure what's causing this.
    How exactly did you do that and how do you suppose it should affect you if you have turned it »off«?
    Are you talking about multiple images or one?

  • Stacked canvasses changing color when changing subclassed VA colors

    I am using Forms developer 10g and I have a visual attribute STD_CURRENT_RECORD in my object library which is subclassed in all forms in the application.
    This VA is referenced from the 'Current record visual attribute' property (and nowhere else) of all multi record blocks in all forms of the application.
    Through a user preferences form, the user can select his/her preferred background and foreground color for the current record in multi blocks. These selected colors are saved in a user preferences table.
    In a library which is attached to all forms, I have a procedure SET_USER_PREFERENCES which is called from the When-New-Form-Instance of all forms. The latter procedure checks if the STD_CURRENT_RECORD VA is present in the form and if so it changes the backgroud and foreground color of the VA to those colors selected by the user. The VA works fine on the current record in multiblocks but for some reason forms is changing the color of all stacked canvases to white (irrespective of the colors the user might have selected for background or foreground).
    Does anyone have this problem and possibly found or know of a solution to it please?

    You didn't mention your Java or Forms version. It has been my experience that odd behavior like this are usually bugs and are fixed by upgrading the JRE to the current update and patching Forms to the current version. I recommend you upgrade your JRE to 1.6.0_30 and Forms to 10.1.2.3.
    Craig...

  • Resetting Background Color to default

    I made a change to the Background Color Property for the Canvas and now want to reset it to the default (so that it will use the color scheme set in the formsweb.cfg file). How do I do this? Typing in "<unspecified>" or "DEFAULT" does not work (it won't allow these values). I can't tell which of the swatches in the color picker would be the default value.
    thanks,
    sharlene
    [email protected]

    Guys, the original issue is to re-set the canvas
    background color without drop and re-create it. Thus
    that 'Inherit' button on top of the property will not
    work for canvas, but for items on the canvas!
    Worked for me. (Forms 6i Version 6.0.8.22.1, patch 13)
    In fact, I was about to ask how to set the background color of radio buttons, and just saw this topic. I tried the same thing for the radio buttons, and the Inherit button works there, too. (Thank you, Kevin!)

  • How to change the background color of  a Tab Canvas

    Hi All,
    I accidentally changed existing background color of a tab Canvas to ' gray' which is not matching with main canvas (which has default).
    How can I change background color to default. Please help me.
    -Thanks

    In the property palette of the tab page, click on the "Background Color" property and click the "Inherit" button on the top of the property palette, this will revert the value of the property to the default when the tab page was created which is <Unspecified>.
    But if your tab page has inherited the color from a property class it will revert to what was specified in the property class.
    Tony

  • How do I change the background color of my canvas in FCPX?, How do I change the background color of my canvas in FCPX?

    How do I change the background color of my canvas in FCPX? I changed it from black to checkered but would like to return it to it's orginal settings.
    Thanks

    You can change the background display color in the playback preferences, either black, white, or checkerboard. This does not change the output color. If you want to add a color to the video, you have to place a custom generator underneath your video and change the color in the inspector.

  • Cannot change the Canvas Extension Color from "Background" to a color of my choosing. Is this a glitch, or is there some setting that I can change?

    Cannot change the Canvas Extension Color from "Background" to a color of my choosing. Is this a glitch, or is there some setting that I can change?

    It depends on how exactly you are doing it but to change the background, I suggest watch this video:
    <How To Change Background in Photoshop Elements 11 - YouTube>
    Hope this helps.

  • Can you specify the background color when resizing the canvas?

    I haven't found this in the Scripting Reference.
    In the "Canvas Size…" dialog box you can specify the "Canvas Extension Color" to "Foreground", Background", "White", "Black", "Grey" or "Other…".
    Can this be scripted?
    I am writing an AppleScript to resize my canvas in order to add a slug to the bottom of the image. Currently my script stores the background color, so I can change it to White to accomplish my goal without discarding the background color (which gets restores at the end of the script). The problem is that if the user has a custom color (i.e. Pantone color) as the background color, the color does not get stored.

    See if this works for you… Just some very basic AppleScript with a call to 'do javascript' in this case the variable 'Solid_Fill' this is a cleaned up piece of scriptlistener output (done very nicely by X's tools you will see a post below to the latest release of this) The scriptlistener output has been turned into a function that javascript can call. Inside of the function call I have put a list arguments passed from AppleScript. So the values 0, 0, 0, 0 in the AppleScript list end up as arguments passed to the functions C, M, Y, K variables. AppleScript objects are 1 based Javascript are 0 based & values the same.
    set Solid_Fill to "function solidFillCMYK(C, M, Y, K) {
    function cTID(s) { return app.charIDToTypeID(s); };
    function sTID(s) { return app.stringIDToTypeID(s); };
    var desc8 = new ActionDescriptor();
    var ref4 = new ActionReference();
    ref4.putClass( sTID('contentLayer') );
    desc8.putReference( cTID('null'), ref4 );
    var desc9 = new ActionDescriptor();
    var desc10 = new ActionDescriptor();
    var desc11 = new ActionDescriptor();
    desc11.putDouble( cTID('Cyn '), C );
    desc11.putDouble( cTID('Mgnt'), M );
    desc11.putDouble( cTID('Ylw '), Y );
    desc11.putDouble( cTID('Blck'), K );
    desc10.putObject( cTID('Clr '), cTID('CMYC'), desc11 );
    desc9.putObject( cTID('Type'), sTID('solidColorLayer'), desc10 );
    desc8.putObject( cTID('Usng'), sTID('contentLayer'), desc9 );
    executeAction( cTID('Mk  '), desc8, DialogModes.NO );
    }; solidFillCMYK(arguments[0], arguments[1], arguments[2], arguments[3]);"
    tell application "Adobe Photoshop CS2"
    activate
    set User_Rulers to ruler units of settings
    set ruler units of settings to pixel units
    set Doc_Ref to the current document
    tell Doc_Ref
    set background layer of last layer to false
    do javascript Solid_Fill with arguments {0, 0, 0, 0} show debugger on runtime error
    move first layer to end
    set Doc_Height to height
    -- set Doc_Width to width did NOT need this
    resize canvas height Doc_Height + 200 anchor position top center
    flatten
    end tell
    set ruler units of settings to User_Rulers
    end tell

Maybe you are looking for