[REBOL] Re: Button Lable
From: allenk:powerup:au at: 18-Sep-2001 6:43
Hi Rene,
A button, has potentially two text states*. An up and a down state. b1/text
gets its value from b1/texts [] choosing either the first or second
depending on the state of the button. You will find a similar relationship
between b1/color and b1/colors
(*rotary buttons have more)
view layout [
b1: button "click me.." 150 [b1/texts: copy ["thanks for clicking"] show b1]
]
or to give it a down state as well
view layout [
b1: button "click me.." 150 [b1/texts: copy ["thanks for clicking" "I'm
depressed"] show b1]
]
Cheers,
Allen K