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

[REBOL] Re: resizing a layout

From: scott:dunlop:nextel at: 27-Apr-2001 19:51

Adding scroll-bars generally requires creating a slider, with an action associated with it that sets the para/scroll/y value of a face. The undocumented 'scroll-para' routine included in Rebol/View 1.1 provides a fairly good example of this. I am unsure at the moment whether this will scroll things other than text, as I haven't gotten to that point in my explorations.. There is also a script in the www.rebol.com script library, under view, which implements a simple scrolling text viewer, that should point you in the right direction. At the moment, I am working on a project that should show how to implement resizable styles with their own scrollbars. Hopefully, by this weekend, it'll be worth sharing with everyone.. --Scott.