Styles not working in latest /View
[1/4] from: jschuhr::hotmail::com at: 20-Oct-2000 21:55
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
[2/4] from: petr:krenzelok:trz:cz at: 21-Oct-2000 5:46
----- Original Message -----
From: John Schuhr <[jschuhr--hotmail--com]>
To: <[list--rebol--com]>
Sent: Saturday, October 21, 2000 4:55 AM
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?
<<quoted lines omitted: 4>>
> mystyle: stylize [
> picbutton: button [
try button with [
^^^
Cheers,
-pekr-
[3/4] from: larry:ecotope at: 20-Oct-2000 20:43
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
[4/4] from: jschuhr:hot:mail 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?
<<quoted lines omitted: 15>>
> 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
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted