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

[REBOL] Re: Multiline text in face?

From: petr:krenzelok:trz:cz at: 18-Sep-2002 15:24

Robert M. Muench wrote:
>>-----Original Message----- >>From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] >>On Behalf Of Petr Krenzelok >>Sent: Wednesday, September 18, 2002 9:31 AM >>To: [rebol-list--rebol--com] >>Subject: [REBOL] Re: Multiline text in face? >> >> > >> view layout [text as-is "this is a^/multiline^/text"] >> >> > >Hi, well OK. How do I specify this for my face: > >test-face: make face [ > size: 200x20 >] > >mytext: "Hi^/Rebol" > >make test-face compose [ > text: as-is (mytext) >] > >** Script Error: as-is has no value >
compose works - just try it separately .... it will not scream. What fails though seems to be your VID code ;-) text: as-is .....??? what as-is? You have to specify text, h1, etc ... so just modify your example: view layout compose [t: text as-is (mytext)] Is that what you wanted? -pekr-