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

[REBOL] Re: updating text-list

From: brett:codeconscious at: 8-Jul-2001 17:19

Hi Thorsten, It appears that one needs to update the slider. Here's one way to go that uses a new style to define a function that updates the slider. view layout [ style updatable-text-list text-list with [ update-slider: does [ sld/redrag lc / max 1 length? head lines ] ] tl: updatable-text-list 300x100 data copy system/locale/months button "Delete first" [ remove tl/data tl/update-slider show tl ] button "Append now" [ append tl/data mold now tl/update-slider show tl ] ] HTH Brett.