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

[REBOL] Re: Question on text formatting

From: anton:lexicon at: 30-Aug-2002 9:01

Same idea as effect and effects, so text and texts. You need to update both the current TEXT and the TEXTS facets.... Try these, and click the button: view layout [b: button "text" [probe b/texts]] ;== ["text"] view layout [b: button "text" "alt text" [probe b/texts]] ;== ["text" "alt text"] same? b/text b/texts/1 ;== true To see how it all works, you must look at the feel of the button style. probe b/feel You can see what happens when you click. Read carefully, you will see EFFECT and EFFECTS, TEXT and TEXTS, and COLOR & COLORS mentioned. It's also useful to see what facets are in a face object: print mold first b and to see what value one of them has: b/style ;== button also check the init code of the face: print mold b/init Anton.