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

[REBOL] Re: Qs: + How to add a scroll bar to text-list in /View?

From: jason:cunliffe:verizon at: 19-Jun-2002 8:00

Hi. again. Well answering my own previous Q1, and Q2, I just found this on Code conscious [>>Thank you!!<<] ./Jason <quote> When you have add or subtracted lines to a text-list you need to modify the text-list's slider so that it reflects the new data. Here's one method to do it: 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 ] ] </quote>