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

[REBOL] Re: New to list

From: jeperk:swbell at: 10-Jun-2003 1:23

It is amazing how much you know with so little documentation. Where did you learn this? I would love to find this kind of information. I've made the first two changes. Those were very easy to do. This one looks like a bit of reworking and I don't fully understand how it functions. Anton wrote:
>A way for the midpoint to suck in the in/outpoints, still using the existing >layout code is to do this: > >style midpoint box ... with [ > pane: get in layout [ > origin 0 > space 0 > box 6x40 font-size 11 feel [...] ; inpoint (pane/1) > box 6x40 font-size 11 feel [...] ; outpoint (pane/2) > ] 'pane >] > >That steals the pane block from a new layout face (which is then forgotten). >The midpoint widget then takes that pane for itself. > >You will have to modify the feel code to be relative. >ie. convert > mp1/size/x -> face/parent-face > op1/offset/x -> face/parent-face/pane/2 >
I hate to seem dense, but my original code, modified to be relative should replace the ". . ." in the three sections? Don't get me wrong, I appreciate your input very much. I just don't like to make large changes without understanding why I am doing it. Could you explain this somewhat? For example, I can find nothing on the word "with" in any of the REBOL docs. Also I still have the problem of adding and removing these during execution in such a way that I can individually address them. If anyone knows how to do this, please enlighten me. Thanks again, John