|
Pages: [1]
|
 |
|
Author
|
Topic: text-list form now ?question? (Read 340 times)
|
|
leke
|
Hey, I have just started learning Rebol and was messing with this...
do [print ["Today’s Date is" now/date "and the time is" now/time ]]
Which works fine.
But then I tried to get 'now/date' and 'now/time' (same as above) in a text-list box on the same line and couldn't get it working right. Here's what I managed...
rebol []
view center-face layout [ backcolor silver text-list 250x250 form now/date ]
Maybe I shouldn't be jumping into graphics just yet but curiosity got the better of me. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
CarlRead
|
Try this... REBOL [] view center-face layout [ backcolor silver text-list 300x250 reform [ "Today's Date is" now/date "and the time is" now/time ] ]
REFORM does a REDUCE of the block's contents then a FORM on the block.
|
|
|
|
|
Logged
|
- Carl Read
|
|
|
|
leke
|
Thanks Carl.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |