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

[REBOL] /data range in sliders

From: rchristiansen::pop::isdfa::sei-it::com at: 2-Aug-2000 14:35

I'm trying to understand the slider syntax. If I use the following: blue: slider 30x259 [ blue/color: 0.0.255 + (255 - blue/data) show blue ] the /data value ranges from 1 to 255 with an initial value of "none." If I use the following: blue: slider 30x259 255 [ blue/color: 0.0.255 + (255 - blue/data) show blue ] the /data value ranges from 1 to 251 with an initial value of "255." If I use the following: blue: slider 30x259 259 [ blue/color: 0.0.255 + (255 - blue/data) show blue ] the /data value ranges from 1 to 255 with an initial value of "259." How can I set the initial value of /data without changing the slider's range? -Ryan