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

Scrolling - Other than text-list

 [1/2] from: cybarite:sympatico:ca at: 8-Jul-2001 12:25

Scrolling - Other than text-list Brett's scroll solution works great for the text-list. What I was looking to do was to use REBOL/View to display a lot of images that show existing application clips intermingled with some View code. One option is to simply take clips of existing screens, store them as gifs or pngs or ... then display them as backdrops from View. Very easily done except that some of the screen clips are large when saved (10 to 15K as PNGs). For demonstration purposes on a fast machine with 30 to 50 demonstration pages, then this is tolerable. If it was a window print of an existing application such as a browser page, then there is less look and feel concern in the prototype because it looks like what is used today. Then it is fairly simple to put hot buttons on top of the backdrop and make them usable as a prototype. Now what I need to do is to be able to scroll on the View window. Horizontally or vertically as needed. Is there a solution with the elegance of this: style updatable-text-list text-list with [ update-slider: does [ sld/redrag lc / max 1 length? head lines ] ] so I can simply do: view layout [size 1024x768 across scrollable-image %my-clipped-image-01.png button "Next Page" [view layout ....] ] Thanks in advance.

 [2/2] from: brett::codeconscious::com at: 9-Jul-2001 13:59

Hi, Thanks for compliment. I have a section on scrolling in the following active document thingy (variant of easy-vid). The section describes the nuts and bolts of scrolling a face - it includes example code. do A function inspired by Jeff's function of the same name and built on this knowledge is demonstrated by: do and the following (which views 20k - 50k images): do I've also built a style (scrollpanel) that is built on top of this function. The nice thing is the style can accept a VID specification or a pre-created face. To see it demonstrated have a look at this: do and the following which displays clickable thumbnails do This may be more than what you want. Let me know if you want something simpler / more specific. HTH Brett.