Hi,

> How do I update a text-list? I can change the data it is based on, but when
> I 'show' the text-list, nothing happens. I've tried text-list/data,
> text-list/text, text-list/texts, text-list/lines, to no avail.

I got the answer to this question even if it wasn't that I asked for.. so..

[
REBOL []

fix-slider: func [faces [object! block!]] [
  foreach list to-block faces [
    either 0 = length? list/data [
      list/sld/redrag 1
    ][
      list/sld/redrag list/lc / length? list/data
    ]
  ]
]

ch: #"b"

l: layout [
  tl: text-list 100x150 data ["a"]
  button "Add something" [
    append tl/data ch
    ch: ch + 1
    fix-slider tl
    show tl
  ]
]

view center-face l
]

/PeO
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to