[REBOL] Re: view problem - updating windows
From: rgombert:essentiel at: 27-Apr-2001 11:20
you can use a different (simpler) syntax to achive the behavior you want.
se below te a2 definition, wich is a shorter way to set the same feel facet.
rebol []
n1: 0
n2: 0
view layout [
a1: text to-string n1 100
with [
rate: 1 feel: make feel [
engage: [
n1: n1 + 1
a1/text: to-string n1 show a1
]
]
]
a2: text to-string n2 100 rate 10 feel [
engage: [
n2: n2 + 1
a2/text: to-string n2 show a2
]
]
button "Quit" [unview]
]