[REBOL] Re: Programatically creating layouts
From: rotenca:telvia:it at: 9-Sep-2002 20:20
Hi,
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 [
insert tail mygrid compose/deep [
bn-01: btn (title) with [grid_time: (time)]
]
]
grid-f: layout mygrid
print mold mygrid
halt
Compose evaluates the paren expressions.
Compose/deep evaluates the paren expressions also in the inner blocks.
Hope this helps
---
Ciao
Romano