[REBOL] Re: Programatically creating layouts
From: andy:flyingcat at: 9-Sep-2002 14:15
Hmm, I might be catching on. I tried a couple more things, and this one
seems to do what I want...
Andy
------------------------
REBOL [ ]
test_list: [ "name of title" 00:30 ]
mygrid: [style btn button with [grid-offset: none grid_time: none] ]
grid_count: 0
foreach [title time ] test_list [
append mygrid "bn-01"
append mygrid [btn]
append mygrid title
append mygrid [with]
append mygrid reduce [join compose [grid_time: ] time ]
]
grid-f: layout load mygrid
print mold mygrid
halt