[REBOL] Re: I could swear I saw this somewhere
From: SunandaDH:aol at: 24-Nov-2003 16:56
Steven:
> Can a script change the text of one of its buttons? I thought I saw
> that somewhere and I just can't find it again. It seems that the
> following does NOT work. Thank you.
Your code works in later versions of REBOL.
In earlier ones, I guess a button is a subtype of a choice field, and that
can have multiple texts. Try this in your version:
REBOL [ ]
unview/all
view layout [
BTN-01: button "Press me" [BTN-01/texts/1: "I am pressed" show
BTN-01]
]
Sunanda.