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: 19-Dec-2001 13:55

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of > Porter Woodward > Sent: Tuesday, December 18, 2001 7:51 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Dynamically adding boxes to layout > the help in the ref-words has a pretty good example on this under the > View -> Show keyword....
Hi, did I miss something here? What help are you using?
> out: layout [ > h1 "Show Example" > t1: text "Text 1" > t2: text "Text 2" > ] > > view/new out > wait 1 > remove find out/pane t2 > show out > wait 1 > remove find out/pane t1
Ah, I didn't had the implied .../pane in mind. It's really not so easy to keep all the Rebol internal objects, series etc. in mind ;-9 What's the best way to set markers so that I can refer to the right place in my 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. Thanks for the info. Robert