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

[ALLY] Re: How to change stylesheets on-the-fly ?

From: gjones05:mail:orion at: 4-May-2001 8:27

From: "Etienne ALAURENT"
> Hi, Carl, > > What I wanted to say is this : > > 1. I define new stylesheets with stylize : > my-skin1: stylize [ > button1: ... > button2: ... > ... > ] > my-skin2: stylize [ > button1: ... > button2: ... > ... > ] > > button1 and button2 in my-skin1 are different from my-skin2. > > 2. Now I define a layout : > my-layout: layout [ > styles my-skin1 > > text "This is an example" > button1 "ok" [...] > button2 "cancel" [...] > button "new style" [change-style my-skin2] > ] > view my-layout > > 3. When I click "new style", I want to change my-skin1 to my-skin2 with
the
> "change-style" function and see the new appearance for "my-layout". > > how can I write the "change-style" function to perform this action ?
<snip size="huge"> I'm just getting caught up on the lists after being out of town. It looks as though there was no answer to this great question. Do you get it figured out? I am curious about it also. Thanks. --Scott Jones