Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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] 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