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: etienne:alaurent:free at: 27-Apr-2001 2:30

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 ? Le mer, 25 avr 2001, vous avez écrit :