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

[REBOL] Re: VID question

From: kpeters:otaksoft at: 30-Sep-2007 12:59

On Sun, 30 Sep 2007 21:01:21 +0200, Henrik Mikael Kristensen wrote:
> foreach row result [set-face to-word join 'inf row/1/day row/2]
Thanks Henrik - exactly what I was hoping for. But now I get: ** Script Error: in expected object argument of type: object port ** Where: set-face ** Near: if all [ access: get in face 'access in access 'set-f when I try this: tally-form: center-face layout [ ...snip... ; hlab1: wdlab "0.0" hlab2: wdlab "0.0" hlab3: wdlab "0.0" hlab4: wdlab "0.0" .. snip .. hlab28: wdlab "0.0" hlab29: wdlab "0.0" hlab30: wdlab "0.0" hlab31: wdlab "0.0" return ; do [ foreach row tallyrecords [ set-face (join 'hlab row/1/day) row/2 ]] ... snip... I can set the text property but that necessitates a face refresh via show and then show complains about wanting an object and not a word... Any ideas? TIA Kai