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

[REBOL] Re: Stylize/deep

From: carl:cybercraft at: 26-Dec-2001 19:19

On 26-Dec-01, Ammon Johnson wrote:
> I see where you are coming from, sld happens to be a slider, but it > is not defined until init happens so... One thing you might like to > try at the console is, >>> probe get-style 'text-list > That will return the actually text-list style, which may give you > awonderful insight. Something that you will notice is that 'sld is > defined in the 'init function so you will need to redefine it > something like: > my-styles: stylize [ > txt-lst: text-list with [sld: edge [color: 0.0.0]
(Snip of way too many lines just to change a color!:) I think there has to be a better way, or if there isn't, there should be...
> Enjoy!! > Ammon > PS in the init function it declares the pane... > ----- Original Message ----- > From: "Carl Read" <[carl--cybercraft--co--nz]> > To: <[rebol-list--rebol--com]> > Sent: Tuesday, December 25, 2001 8:02 PM > Subject: [REBOL] Re: Stylize/deep >> On 26-Dec-01, Ammon Johnson wrote: >>> Try 'with >>> Stylize [a: box with [data: "Some Data"]] >> No joy Ammon. I couldn't get any variations on the following to >> work... >> my-styles: stylize [ >> txt-lst: text-list with [sld: edge [color: 0.0.0]] >> ] >> view layout [ >> styles my-styles >> txt-lst >> ] >>>> How do you use stylize to set panes within a style. ie, to set >> the >>>> likes of text-list/sld/edge/color and so on? >> -- >> Carl Read >> -- >> To unsubscribe from this list, please send an email to >> [rebol-request--rebol--com] with "unsubscribe" in the >> subject, without the quotes. > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com
-- Carl Read