this is because the old version (I just checked the code from the 2001.01.25
release) had 0 as the default index value.  This is why it didn't have the
problem.

Daniel Holmen wrote:

> 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

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to