Hi Graham,

Scroll-face wraps what ever you give it inside another face. So you need to
unview that instead of your original face.
You could do it with unview/all or do something like:

do load-thru http://www.codeconscious.com/rebol-library/scroll-face.r
lo: layout [
    button "close window" [ unview/only lyo ]
    area 200x1000
]
lyo: scroll-face lo 200x300
view center-face lyo


Regards,
Brett.


----- Original Message -----
From: "Graham Chiu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 17, 2002 9:11 AM
Subject: [REBOL] scroll-face bug?


> Can someone tell me what's happening here?
>
> Rebol []
>
> do load-thru http://www.codeconscious.com/rebol-library/scroll-face.r
>
> lo: layout [ button "close window" [ unview/only lo ] area
> 200x1000 ]
>
> view center-face lo  ; correctly closes window
>
> view center-face scroll-face lo 200x300 ; won't close now
>
> This assumes your screen depth is less than 1000.
>
> --
> Graham Chiu
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

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

Reply via email to