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

[REBOL] Re: Styles not working in latest /View

From: jschuhr:h:otmail at: 21-Oct-2000 7:39

Aha.. that works like a charm.. not documented very well,though.. thanks Larry. --John ----- Original Message ----- From: Larry Palmiter Sent: Friday, October 20, 2000 10:52 PM To: [rebol-list--rebol--com] Subject: [REBOL] Re: Styles not working in latest /View Hi John You need to use the layout keyword 'with like this: mystyle: stylize [ picbutton: button with [ image: load %bay.jpg effect: [fit blur colorize 200.200.200] ] Then it works. HTH -Larry ----- Original Message ----- From: John Schuhr <[jschuhr--hotmail--com]> To: <[list--rebol--com]> Sent: Friday, October 20, 2000 7:55 PM Subject: [REBOL] Styles not working in latest /View
> Anybody have a good reason why this doesn't work? And can > they give a working example? > > REBOL [] > if not exists? %bay.jpg [ > write/binary %bay.jpg read/binary http://www.rebol.com/view/bay.jpg > ] > mystyle: stylize [ > picbutton: button [ > image: load %bay.jpg > effect: [fit blur colorize 200.200.200] > ] > ] > view layout [ > styles mystyle > picbutton "Quit" [quit] > ] > > +-------------------- > John Schuhr > [jschuhr--hotmail--com] >
+--------------------_______________________________________________________ ____
> Get more from your time online. FREE MSN Explorer download :
http://explorer.msn.com
> -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- To unsubscribe from this list, please send an email to [rebol-request--rebol--com] with "unsubscribe" in the subject, without the quotes.___________________________________________________________ Get more from your time online. FREE MSN Explorer download : http://explorer.msn.com