View draws each face in the order it is
kept in the 'pane facet.

Given the following face definition
(yes, layout returns a face):

        lay-face: layout [box white at 50x50 box red]

(Close the window now.)
Examining the 'pane facet:

        length? lay-face/pane
        ;== 2

There are two sub-faces. Those are the two boxes.

        lay-face/pane/2/color
        ;== 255.0.0  ; (red)

Let's see it:

        view lay-face

To make the red box appear under the white box,
you should just swap their positions in the
pane. In this simple case we can just use
reverse:

        reverse lay-face/pane

        view lay-face

Anton.

> I'd like the item I'm dragging to be at the top. Do I have to 
> re-order the 
> faces in the layout and then show the whole thing? Or is there a 
> cleverer way 
> to change z-plane priorities?
> 
> Thanks,
> Sunanda.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to