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

[REBOL] Re: stylize

From: keithray::yahoo::com at: 1-Sep-2001 4:03

Hi Ammon, The problem with your little snippet of code is the placement of 'return'. Evidently 'return' can only be used in the layout. This is as it should be. Stylize is for defining the styles of buttons, text, and etc, but has nothing to do about their placement. The placement of these are left to the layout. For your code to work, just move 'return'. Below is my code, which works: REBOL [ Title: "Test" ] mn-stl: stylize [mn-tm: text white bold ] proj: layout/offset [ styles mn-stl mn-tm "New" [nw-proj] return mn-tm "Load" [ld-proj] return mn-tm "Save" [sv-proj] return ]0x0 view proj --- Ammon Cooke <[ammoncooke--yahoo--com]> wrote: