James Head wrote:
> 
> > -- In the 'layer.js' file there is a method called getTopZIndex()
> > Does that have anything to do with it? I don't really get what that
> > method does...
> 
> I had a tricky time working out what that method does too.  I think the way
> it works is that it returns the highest Z index of any layer that is at the
> same level in the layer tree. (which is to do with that whole parent child
> thing)
> 
> documnet - layer 1
>          - layer 2
>            |- layer 2a
>            |- layer 2b
> 
> layer 2a.getTopZindex() returns the greatest Z index out of layer 2a and
> layer 2b.  I initially got confused thinking I should call the method on the
> parent (layer 2), but the dynAPI internally find the parent layer, then all
> child layers.

I figured it was something like that, however, my layers are children of
the DynDocument. Maybe because their parent is not a Dynlayer but the Dyndoc
is why I couldn't get it to work...

> 
> I've been working on a beta of a windowing system, that has added
> enhancements such as automatic hiding of 'bad' form elements when the layer
> is not in focus, a windowshade button, draggable title bar, automatic
> relayering, automatic reflowing,  etc.. If you get stuck, I can mail you an
> archive with some examples.  Currently the code is no where near widget form
> though, - but it works.

I am not really stuck yet, still experimenting and trying stuff. 
But nevertheless I would be really interested in having a look at those 
examples. So yes please send me that archive!
Thanx for the help.
Gui


-- 

Guillaume Thelissen
Slimbit Web Solutions
tel:+31(0)30 2966 960
http://www.slimbit.nl
mailto:[EMAIL PROTECTED]

"If you can't beat your computer at chess, try kickboxing."

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

Reply via email to