Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

scroll-face bug?

 [1/3] from: gchiu:compkarori at: 17-Mar-2002 10:11


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

 [2/3] from: brett::codeconscious::com at: 17-Mar-2002 9:55


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.

 [3/3] from: gchiu:compkarori at: 17-Mar-2002 17:58


> do load-thru http://www.codeconscious.com/rebol-library/scroll-face.r > lo: layout [
<<quoted lines omitted: 3>>
> lyo: scroll-face lo 200x300 > view center-face lyo
Aha :) Thanks Brett -- Graham Chiu

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted