I found the same problem with backgroundcolor in childlayers of widgets (in
NS4), they inherit the backgroundcolor of the parent.
This give a layers with the color of the parent:
o.handle=new DynLayer(null,0,0,285,105)
to make it transparent you have to do this:
o.parent.addChild(o.handle);
o.handle.setBgColor()
If anyone knows why this is happening?
Richard.
----- Original Message -----
From: "Daniel Holmen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 29 May, 2001 09:04
Subject: Re: [Dynapi-Dev] ZIndex problems
> In NS4 you can set the Z Index AFTER the layer is created. But if you
> specify a Z Index before it is created, NS ignores it totally.
>
> I never had any of these problems with the old (non DynAPIX) DynAPI
though.
>
> ----- Original Message -----
> From: "Michael Pemberton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 29, 2001 8:51 AM
> Subject: [Dynapi-Dev] ZIndex problems
>
>
> > After going nuts trying to work out why NS4 was always placing layers
> > above other regardless of index values, I came across the following
> > solution:
> >
> > NS4 appears to place the layer above ALL other if the zindex value is
> > null. as such, I suggest that we make the zindex value 0 by default.
> >
> > Also, I found that there are a number of irrelevant if statements in the
> > layer creation code.
> > eg. X and Y default to 0 and as such will NEVER contain 0 unless
> > you manually adjust them.
> >
> > --
> > Michael Pemberton
> > [EMAIL PROTECTED]
> > ICQ: 12107010
> >
> >
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev