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

[REBOL] Re: FACE questions

From: gscottjones:mchsi at: 12-Jan-2003 9:34

Hi, Robert, From: "Robert M. Muench"
> Hi, I'm playing around with raw faces (no VID) but > somehow it doesn't work as I like. I want to create > a face with a text in it. I have tried something like > this: > > >> test: make face [] > >> test/text > == none > >> test/text: "Hello Robert!" > == "Hello Robert!" > >> view/offset test 50x50 > > So far so good. But the text is displayed in the title bar not in the > face. Why this? Is this because that's the "top-most" face?
Yes
> How do I create an area face?
test: make face [ pane: make face[] ] test/size: 300x100 test/text: "Window Name" test/pane/text: "Area Name" view/offset test 50x50
> Do I just later set face/style to 'AREA? > Is this sufficient? Robert
I don't know about these questions. :-) --Scott Jones