What I typically do is just change the system object to conform to a default that I can work with through my layouts. For example the edge object is not defined within the Text-list style. Therefore, I just add the default face edge to the text-list such as:
system/view/vid/vid-styles/text-list/edge: make object! [ color: 200.200.200 image: none effect: none size: 2x2 ] now I can work with text-list more easily throughout all the remaining layouts I define such as: view layout [text-list with [edge/color: red]] Paul Tretter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Carl Read Sent: Wednesday, December 26, 2001 1:19 AM To: [EMAIL PROTECTED] Subject: [REBOL] Re: Stylize/deep 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" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > 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 >> [EMAIL PROTECTED] with "unsubscribe" in the >> subject, without the quotes. > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com -- Carl Read -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.