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

[REBOL] Re: Dynamically adding boxes to layout

From: robert:muench:robertmuench at: 20-Dec-2001 10:37

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of > [nitsch-lists--netcologne--de] > Sent: Wednesday, December 19, 2001 6:45 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Dynamically adding boxes to layout >> What's the best way to set markers so that I can refer to the right place in
>> layout? Somtimes I want to append/remove/insert etc. IMO it could get hard to >> build a reference structure that's comfortable to handle at runtime. > > sub-layout: make-a-face-somehow > and work with sub-layout/pane ?
Hi, something like this. I now use the following pattern-of-dumb. graph-layout: [at 0x0 box green effect [draw [(line-face)]]] line-face: [] Now I can add draw-dialect stuff to line-face and later I use: return compose graph-layout. This makes it possible to seperate your layout into individual accessable parts. Robert