[REBOL] Dynamically Changing the 'text of Button
From: coussement:c:js:mil:be at: 18-Jun-2001 15:18
A little problem I couldn't resolve right now: how can I dynamically change
the 'text property of a button ?
Let's consider this code:
view layout [
b: button "First Text"
button "Change" [
b/text: "Second Text"
print ["Button *Change* pressed:" b/text]
button "Echo" [
print ["Button *Echo* pressed:" b/text]
>> do %test.r
Button *Change* pressed: Second Text
Button *Echo* pressed: First Text
And, of course, the 'text of b wasn't updated ;-(
How come ?