[REBOL] How to change an existing button's colour
From: warren:howsoft at: 30-Jan-2008 12:47
Hi All, Perhaps somebody would be kind enough to help out a Rebol noob who is completely
lost. Using RebGUI, I have found out how to change an existing button's colour as follows:
------------------------------ Rebol[] unless value? 'ctx-rebgui [do-thru http://www.dobeash.com/RebGUI/rebgui.r]
display "RebGUI Example" [ text"Click on the WORLD button" mybut: button "Hello" red
button "World" on-click [mybut/color: blue show mybut] ] do-events ------------------------------
I want to do something similar in normal Rebol code, but nothing I try seems to work.
Any help would be greatly appreciated. Thanks. Regards, Bob Warren