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

How DO they DO that?

 [1/2] from: Steven:White:ci:bloomington:mn:us at: 19-Nov-2003 16:08

I am looking at the REBOL desktop, at the screen where all the World-Wide Reb Sites are displayed. The area with all the icons of the hand holding up the world are in a section of the screen that can be controlled by the slider on the right. The slider on the right is a REBOL-style slider, so I assume that the whole screen I am seeing is created by REBOL. I also am looking through the View Developer's Guide at the "styles" trying to find something like that, something where there can be a clickable link inside an area that can be scrolled with a slider. I am not finding anything, or I am not understanding something. How do they do that? Thank you. Steven White City of Bloomington 1800 W Old Shakopee Rd Bloomington MN 55431-3096 USA 952-563-4882 (voice) 952-563-4672 (fax) [steven--white--ci--bloomington--mn--us]

 [2/2] from: antonr::iinet::net::au at: 20-Nov-2003 13:35

Here's a really simple and crude example to get you going: panel-face: layout [ origin 0 icon "I" icon "am" icon "somebody!" icon icon "Solid." ] view layout [ across my-panel: box 100x200 edge [size: 1x1] with [ pane: panel-face ] scroller [ my-panel/pane/offset/y: to-integer -180 * face/data show my-panel ] ] Note, you need a rebol/view beta (version > 1.2.1) for the scroller style. You could replace it with slider, though. Anton.